aboutsummaryrefslogtreecommitdiffstats
path: root/x86
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2019-07-07 17:39:54 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2019-07-17 09:17:28 +0200
commit7cd0af8ba5d737fa9c45bb9fa454b38e9704097a (patch)
treecd348fa06266cfffeeadc5d5c61f4cd7fe80a7f8 /x86
parent633e60ed36c07c4b6cb4b1dc93b9eea312882ceb (diff)
downloadcompcert-kvx-7cd0af8ba5d737fa9c45bb9fa454b38e9704097a.tar.gz
compcert-kvx-7cd0af8ba5d737fa9c45bb9fa454b38e9704097a.zip
When testing builtin functions, prevent constant propagation
Now that some builtin functions have known semantics, constant propagation can happen in this test. This defeats the purpose, which is to check that the correct processor instructions are generated. To prevent this constant propagation, we move the initialized variables to global scope. Since they are not "const", their values are not known to the optimizer.
Diffstat (limited to 'x86')
0 files changed, 0 insertions, 0 deletions