[PATCH] D56246: [X86] Add post-isel peephole to fold KAND+KORTEST into KTEST if only the zero flag is used.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 2 23:23:33 PST 2019
craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, andreadb.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D56246
Files:
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/avx512-mask-op.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56246.180000.patch
Type: text/x-patch
Size: 10289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190103/8fb77b7b/attachment.bin>
More information about the llvm-commits
mailing list