diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-06-09 16:30:42 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-06-09 16:30:42 +0000 |
commit | d669758d84217f7e057740053783e012369337d0 (patch) | |
tree | 8bcb60a4779edb10702d06d75d5475a736915fdb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | ff0c99b0177ddb091aea24576559dad6d00630ba (diff) | |
download | bcm5719-llvm-d669758d84217f7e057740053783e012369337d0.tar.gz bcm5719-llvm-d669758d84217f7e057740053783e012369337d0.zip |
[InstCombine] foldICmpWithLowBitMaskedVal(): 'icmp sgt/sle': avoid miscompiles
A precondition 'x != 0' was forgotten by me:
https://rise4fun.com/Alive/JFNP
https://rise4fun.com/Alive/jHvL
These 4 folds with non-constants could be re-enabled,
but for now let's go for the simplest solution.
https://bugs.llvm.org/show_bug.cgi?id=42198
llvm-svn: 362911
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions