diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-06-28 16:37:10 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-06-28 17:00:21 -0400 |
commit | 9d0bf7699c0292041b65a0c0bac371003e067ef3 (patch) | |
tree | 4801077fb38c0756faa465fc1afacc06d94d9feb /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 357c339ec83c94ec83314174553ef8be2bda3c8b (diff) | |
download | llvm-9d0bf7699c0292041b65a0c0bac371003e067ef3.zip llvm-9d0bf7699c0292041b65a0c0bac371003e067ef3.tar.gz llvm-9d0bf7699c0292041b65a0c0bac371003e067ef3.tar.bz2 |
[InstCombine] don't try to fold a constant expression that can trap (PR50906)
We could use a bigger hammer and bail out on any constant
expression, but there's a regression test that appears to
validly do the transform (although it may not have been
intending to check that optimization).
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions