[PATCH] D129537: [X86][DAGISel] Combine select vXi64 with AVX512 target

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 01:48:45 PDT 2022


LuoYuanke added inline comments.


================
Comment at: llvm/test/CodeGen/X86/avx512-shuffles/shuffle-blend.ll:94
 ; CHECK-NEXT:    vpaddb %xmm1, %xmm0, %xmm2
-; CHECK-NEXT:    vpsubb %xmm1, %xmm0, %xmm0
-; CHECK-NEXT:    vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1,2,3,4,5,6,7]
+; CHECK-NEXT:    movw $3, %ax
+; CHECK-NEXT:    kmovd %eax, %k1
----------------
For this case not sure if it is worse than left side code (previous code).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129537



More information about the llvm-commits mailing list