If the shuffle is a blend and one input is a 0 vector, we should prefer AND over PSHUFB since its available on more execution ports.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D82798
[X86] Prefer AND over PSHUFB for v64i8 when possible ClosedPublic Authored by craig.topper on Jun 29 2020, 11:51 AM.
Details Summary If the shuffle is a blend and one input is a 0 vector, we should prefer AND over PSHUFB since its available on more execution ports.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 29 2020, 2:14 PM Closed by commit rG9b04d69ccefb: [X86] Prefer AND over PSHUFB for v64i8 when possible (authored by craig.topper). · Explain WhyJun 29 2020, 4:39 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 274288 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512-mask-op.ll
llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll
|