As discussed on PR42825, if we are inverting the selection mask we can just swap the inputs and avoid the inversion.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D65522
[X86][SSE] Swap X86ISD::BLENDV inputs with an inverted selection mask (PR42825) ClosedPublic Authored by RKSimon on Jul 31 2019, 9:46 AM.
Details Summary As discussed on PR42825, if we are inverting the selection mask we can just swap the inputs and avoid the inversion.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 9 2019, 5:23 AM Closed by commit rL368438: [X86][SSE] Swap X86ISD::BLENDV inputs with an inverted selection mask (PR42825) (authored by RKSimon). · Explain WhyAug 9 2019, 5:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 212606 lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/combine-sse41-intrinsics.ll
test/CodeGen/X86/nontemporal-loads.ll
|