If only the sign bit is demanded, and the LHS is all zeroes, then
we can bypass the PCMPGT.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 43025 Build 43667: arc lint + arc unit
Paths
| Differential D71979
[X86] Add X86ISD::PCMPGT to SimplifyMultipleUseDemandedBitsForTargetNode. ClosedPublic Authored by craig.topper on Dec 29 2019, 1:46 PM.
Details Summary If only the sign bit is demanded, and the LHS is all zeroes, then
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 30 2019, 1:02 AM
Revision Contents
Diff 235522 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/sadd_sat.ll
llvm/test/CodeGen/X86/sadd_sat_vec.ll
llvm/test/CodeGen/X86/ssub_sat.ll
llvm/test/CodeGen/X86/ssub_sat_vec.ll
|