aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-10-15 16:50:13 -0700
committerRichard Smith <richard@metafoo.co.uk>2020-10-15 16:58:47 -0700
commitfc031d29bea856f2b91a250fd81c5f9fb79dbe07 (patch)
treeeb3d14002d76f6ba6f2913ccaf76d4ad2f74ad4a /llvm/lib/Support/TargetParser.cpp
parent2bf423b0218c9583e3a372950a34facbf93e63d3 (diff)
downloadllvm-fc031d29bea856f2b91a250fd81c5f9fb79dbe07.zip
llvm-fc031d29bea856f2b91a250fd81c5f9fb79dbe07.tar.gz
llvm-fc031d29bea856f2b91a250fd81c5f9fb79dbe07.tar.bz2
Switch the default of VerifyIntegerConstantExpression from constant
folding to not constant folding. Constant folding of ICEs is done as a GCC compatibility measure, but new code was picking it up, presumably by accident, due to the bad default. While here, also switch the flag from a bool to an enum to make it more obvious what it means at call sites. This highlighted a couple of places where our behavior is different between C++11 and C++14 due to switching from checking for an ICE to checking for a converted constant expression (where there is no 'fold' codepath).
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions