summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-08-06 11:02:29 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-08-06 11:50:34 +0300
commit8878b79cfe99e1ef36a265539329cd323e05a40d (patch)
tree6f10e6deab16c84d9408f0b30cf0ede85ec407f7 /lldb/test/API/python_api/target/TestTargetAPI.py
parent5060f5682b011d2a8c708b3c1b16bd4e0c408afb (diff)
[InstCombine] (-NSW x) ==/!= x --> x ==/!= 0 (PR39480)
Name: (-x) == x --> x == 0 %neg_x = sub nsw i8 0, %x ; %x must not be INT_MIN %r = icmp eq i8 %neg_x, %x => %r = icmp eq i8 %x, 0 Name: (-x) != x --> x != 0 %neg_x = sub nsw i8 0, %x ; %x must not be INT_MIN %r = icmp ne i8 %neg_x, %x => %r = icmp ne i8 %x, 0 https://rise4fun.com/Alive/4slH https://bugs.llvm.org/show_bug.cgi?id=39480
Diffstat (limited to 'lldb/test/API/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions