This restores the combine that was reverted in r341883. The infinite loop from the failing test no longer occurs due to changes from r342163.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D52070
[InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely invertible ClosedPublic Authored by craig.topper on Sep 13 2018, 9:42 PM.
Details Summary This restores the combine that was reverted in r341883. The infinite loop from the failing test no longer occurs due to changes from r342163.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 17 2018, 11:22 AM Closed by commit rL342797: [InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely… (authored by ctopper). · Explain WhySep 21 2018, 10:55 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 166597 llvm/trunk/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/trunk/test/Transforms/InstCombine/max-of-nots.ll
llvm/trunk/test/Transforms/InstCombine/pr38897.ll
llvm/trunk/test/Transforms/InstCombine/select.ll
llvm/trunk/test/Transforms/InstCombine/select_meta.ll
llvm/trunk/test/Transforms/InstCombine/sub.ll
llvm/trunk/test/Transforms/InstCombine/xor.ll
|