| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [InstCombine] Add new tests for icmp ugt/ult (add nuw X, C2), C | Nicola Zaghen | 2018-08-21 | 1 | -0/+43 |
| | | | | | | | Differential Revision: https://reviews.llvm.org/D51040 llvm-svn: 340284 | ||||
| * | [InstCombine] Remove a FIXME from a test that was fixed in r314025. | Craig Topper | 2017-09-22 | 1 | -1/+0 |
| | | | | | llvm-svn: 314030 | ||||
| * | [InstCombine] Add constant splat handling to one of the ICMP_SLT/SGT cases ↵ | Craig Topper | 2017-09-22 | 1 | -2/+39 |
| | | | | | | | in foldICmpUsingKnownBits. llvm-svn: 314025 | ||||
| * | [InstCombine] add nsw/nuw X, signbit --> or X, signbit | Sanjay Patel | 2017-02-18 | 1 | -6/+4 |
| | | | | | | | | | | Changing to 'or' (rather than 'xor' when no wrapping flags are set) allows icmp simplifies to happen as expected. Differential Revision: https://reviews.llvm.org/D29729 llvm-svn: 295574 | ||||
| * | [InstCombine] fold icmp sgt/slt (add nsw X, C2), C --> icmp sgt/slt X, (C - C2) | Sanjay Patel | 2017-02-12 | 1 | -15/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I found one special case of this transform for 'slt 0', so I removed that and added the general transform. Alive code to check correctness: Name: slt_no_overflow Pre: WillNotOverflowSignedSub(C1, C2) %a = add nsw i8 %x, C2 %b = icmp slt %a, C1 => %b = icmp slt %x, C1 - C2 Name: sgt_no_overflow Pre: WillNotOverflowSignedSub(C1, C2) %a = add nsw i8 %x, C2 %b = icmp sgt %a, C1 => %b = icmp sgt %x, C1 - C2 http://rise4fun.com/Alive/MH Differential Revision: https://reviews.llvm.org/D29774 llvm-svn: 294898 | ||||
| * | [InstCombine] add tests for icmp with add nsw; NFC | Sanjay Patel | 2017-02-09 | 1 | -0/+123 |
| | | | | | llvm-svn: 294601 | ||||
| * | [InstCombine] add tests to show information-losing add nsw/nuw transforms; NFC | Sanjay Patel | 2017-02-08 | 1 | -0/+24 |
| | | | | | llvm-svn: 294524 | ||||
| * | [InstCombine] add test for missed vector icmp fold; NFC | Sanjay Patel | 2017-02-08 | 1 | -0/+108 |
| Also, move the related existing scalar test to a renamed file where I'm planning to add more icmp-add tests. llvm-svn: 294487 | |||||

