We already have zeroable bits in an APInt. We might as well use that instead of checking for an all zero BUILD_VECTOR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D37950
[X86] Rewrite the zero vector checks in lowerV2X128VectorShuffle to use the Zeroable APInt ClosedPublic Authored by craig.topper on Sep 16 2017, 1:40 PM.
Details Summary We already have zeroable bits in an APInt. We might as well use that instead of checking for an all zero BUILD_VECTOR.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 27 2017, 2:43 AM Closed by commit rL314332: [X86] Rewrite the zero vector checks in lowerV2X128VectorShuffle to use the… (authored by ctopper). · Explain WhySep 27 2017, 11:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 116853 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
|