This is split off from D67356, since these cases produce a constant,
no real need to keep them in instcombine.
Alive proofs:
https://rise4fun.com/Alive/u7Fk
https://rise4fun.com/Alive/4lV
Paths
| Differential D67498
[InstSimplify] simplifyUnsignedRangeCheck(): handle few tautological cases (PR43251) ClosedPublic Authored by lebedev.ri on Sep 12 2019, 7:15 AM.
Details Summary This is split off from D67356, since these cases produce a constant, Alive proofs:
Diff Detail
Event Timeline
lebedev.ri marked 2 inline comments as done. Comment ActionsSupport two more patterns as noted in https://reviews.llvm.org/D67498#inline-606717 This revision is now accepted and ready to land.Sep 13 2019, 2:02 PM Closed by commit rL371921: [InstSimplify] simplifyUnsignedRangeCheck(): handle few tautological cases… (authored by lebedevri). · Explain WhySep 14 2019, 6:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 220212 llvm/trunk/lib/Analysis/InstructionSimplify.cpp
llvm/trunk/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
|