[PATCH] D113827: [X86] Widen 128/256-bit VPTERNLOG patterns to 512-bit on non-VLX targets
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 14 04:48:25 PST 2021
pengfei added inline comments.
================
Comment at: llvm/test/CodeGen/X86/combine-bitselect.ll:35-40
+; AVX512F-NEXT: # kill: def $xmm1 killed $xmm1 def $zmm1
+; AVX512F-NEXT: # kill: def $xmm0 killed $xmm0 def $zmm0
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm2 = [18446744069414584319,18446744060824649725]
+; AVX512F-NEXT: vpternlogq $216, %zmm2, %zmm1, %zmm0
+; AVX512F-NEXT: # kill: def $xmm0 killed $xmm0 killed $zmm0
+; AVX512F-NEXT: vzeroupper
----------------
I wonder if the left side code wins sometime, e.g. optsize?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113827/new/
https://reviews.llvm.org/D113827
More information about the llvm-commits
mailing list