The only mask bit used by masked scalar MOV is the lower bit, so no need to and with 1 before passing the mask. Add patterns to recognize that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D35897
[X86][AVX512] Add masked MOVS[S|D] patterns ClosedPublic Authored by guyblank on Jul 26 2017, 9:07 AM.
Details Summary The only mask bit used by masked scalar MOV is the lower bit, so no need to and with 1 before passing the mask. Add patterns to recognize that.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jul 31 2017, 12:44 AM Closed by commit rL309546: [X86][AVX512] Add masked MOVS[S|D] patterns (authored by guyblank). · Explain WhyJul 31 2017, 1:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 108875 llvm/trunk/lib/Target/X86/X86InstrAVX512.td
llvm/trunk/test/CodeGen/X86/avx512-load-store.ll
llvm/trunk/test/CodeGen/X86/avx512-select.ll
|