diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-08-06 11:10:38 +0300 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-08-06 11:50:35 +0300 |
| commit | 01a6c4bd26a599e877301568f77eb835d0a6e812 (patch) | |
| tree | 9c492446bdf3797330532f2551042c9198b9350e /lldb/test/API/python_api/target/TestTargetAPI.py | |
| parent | 388520765157f1ce7e48e49179dc58781ae61f56 (diff) | |
[InstCombine] (-NSW x) s< x --> x s> 0 (PR39480)
Name: (-x) s< x --> x > 0
%neg_x = sub nsw i8 0, %x ; %x must not be INT_MIN
%r = icmp slt i8 %neg_x, %x
=>
%r = icmp sgt i8 %x, 0
https://rise4fun.com/Alive/3IXb
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
