For PCMPGT(0, X) patterns where we only demand the sign bit (e.g. BLENDV or MOVMSK) then we can use X directly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D57667
[X86][SSE] SimplifyDemandedBitsForTargetNode - PCMPGT(0,X) sign mask ClosedPublic Authored by RKSimon on Feb 3 2019, 2:49 PM.
Details Summary For PCMPGT(0, X) patterns where we only demand the sign bit (e.g. BLENDV or MOVMSK) then we can use X directly.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 4 2019, 7:00 AM Closed by commit rL353051: [X86][SSE] SimplifyDemandedBitsForTargetNode - PCMPGT(0,X) sign mask (authored by RKSimon). · Explain WhyFeb 4 2019, 7:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 185049 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/test/CodeGen/X86/avx512-cvt-widen.ll
llvm/trunk/test/CodeGen/X86/avx512-cvt.ll
llvm/trunk/test/CodeGen/X86/bitcast-setcc-128.ll
llvm/trunk/test/CodeGen/X86/bitcast-setcc-256.ll
llvm/trunk/test/CodeGen/X86/bitcast-setcc-512.ll
llvm/trunk/test/CodeGen/X86/movmsk-cmp.ll
|