Doing this late so we will prefer to fold the AND into a masked comparison first. That can be better for the live range of the mask register.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D56246
[X86] Add post-isel peephole to fold KAND+KORTEST into KTEST if only the zero flag is used. ClosedPublic Authored by craig.topper on Jan 2 2019, 11:23 PM.
Details Summary Doing this late so we will prefer to fold the AND into a masked comparison first. That can be better for the live range of the mask register.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 3 2019, 7:31 AM Closed by commit rL350374: [X86] Add post-isel peephole to fold KAND+KORTEST into KTEST if only the zero… (authored by ctopper). · Explain WhyJan 3 2019, 4:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 180172 llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/trunk/test/CodeGen/X86/avx512-mask-op.ll
|