[PATCH] D116363: [X86] Combine to vpdpbusd when operand is constant and small enough.

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 15 23:14:22 PST 2022


LuoYuanke added inline comments.


================
Comment at: llvm/test/CodeGen/X86/dpbusd_const.ll:124
+; AVX512VNNI-NEXT:    vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3,4,5,6,7]
+; AVX512VNNI-NEXT:    vmovdqa64 {{.*#+}} zmm1 = [0,1,2,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512VNNI-NEXT:    vpxor %xmm2, %xmm2, %xmm2
----------------
This looks not good, as it accesses more memory.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116363/new/

https://reviews.llvm.org/D116363



More information about the llvm-commits mailing list