Tests for an upcoming (A > 0) | (A < 0) -> zext (A != 0) fold.
Related issue:
(a > b) | (a < b) is not simplified only for the case b=0
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D154089
[InstCombine] Add tests for (A > 0) | (A < 0) -> zext (A != 0) fold (NFC) ClosedPublic Authored by XChy on Jun 29 2023, 7:39 AM.
Details Summary Tests for an upcoming (A > 0) | (A < 0) -> zext (A != 0) fold.
Diff Detail
Event TimelineXChy added a child revision: D154126: [InstCombine] Transform (A > 0) | (A < 0) -> zext (A != 0) fold.Jun 30 2023, 4:26 PM Closed by commit rGe8744ba32d56: [InstCombine] Add tests for (A > 0) | (A < 0) -> zext (A != 0) fold (NFC) (authored by XChy, committed by goldstein.w.n). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537600 llvm/test/Transforms/InstCombine/and-or-icmps.ll
|