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
Paths
| Differential D35895
[X86][AVX512] Add masked MOVS[S|D] paatterns AbandonedPublic Authored by guyblank on Jul 26 2017, 9:04 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
Revision Contents
Diff 108293 lib/Target/X86/X86InstrAVX512.td
test/CodeGen/X86/avx512-load-store.ll
test/CodeGen/X86/avx512-select.ll
|