(umax X, Y) != 0 -> X != 0 || Y != 0
Alive2 Link:
https://alive2.llvm.org/ce/z/_Z9AUT
Paths
| Differential D149415
[ValueTracking] Add logic for `isKnownNonZero(umax X, Y)` ClosedPublic Authored by goldstein.w.n on Apr 27 2023, 11:21 PM.
Details Summary (umax X, Y) != 0 -> X != 0 || Y != 0 Alive2 Link: https://alive2.llvm.org/ce/z/_Z9AUT
Diff Detail
Event Timelinegoldstein.w.n added a parent revision: D149414: [ValueTracking] Add logic for `isKnownNonZero(sadd.sat X, Y)`.Apr 27 2023, 11:26 PM This revision is now accepted and ready to land.Apr 28 2023, 12:35 AM goldstein.w.n added a child revision: D149416: [ValueTracking] Add logic for `isKnownNonZero(umin X, Y)`.Apr 28 2023, 2:33 PM Closed by commit rG883daa7ac411: [ValueTracking] Add logic for `isKnownNonZero(umax X, Y)` (authored by goldstein.w.n). · Explain WhyApr 30 2023, 8:07 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 517799 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Analysis/ValueTracking/known-non-zero.ll
llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
|