If we're going to generate a new inverted setcc, we should make sure we will be able to remove the old setcc.
This found in a larger test case from a coworker I haven't had a chance to reduce yet.
Paths
| Differential D56765
[X86] Add a one use check to the setcc inversion code in combineVSelectWithAllOnesOrZeros ClosedPublic Authored by craig.topper on Jan 15 2019, 5:22 PM.
Details Summary If we're going to generate a new inverted setcc, we should make sure we will be able to remove the old setcc. This found in a larger test case from a coworker I haven't had a chance to reduce yet.
Diff Detail
Event TimelineComment Actions LGTM but a test case would be useful.
This revision is now accepted and ready to land.Jan 16 2019, 1:55 AM Closed by commit rL351378: [X86] Add a one use check to the setcc inversion code in… (authored by ctopper). · Explain WhyJan 16 2019, 1:35 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 182134 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/test/CodeGen/X86/vselect.ll
|