[PATCH] D113564: [DAG] FoldConstantArithmetic - fold intop(bitcast(buildvector(c1)),bitcast(buildvector(c1))) -> bitcast(intop(buildvector(c1'),buildvector(c2')))
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 10 17:41:49 PST 2021
pengfei accepted this revision.
pengfei added a comment.
This tests look good.
================
Comment at: llvm/test/CodeGen/X86/packss.ll:200
; X86-AVX2-NEXT: vpsrlvq %ymm1, %ymm0, %ymm0
-; X86-AVX2-NEXT: vpxor %ymm2, %ymm0, %ymm0
-; X86-AVX2-NEXT: vpsubq %ymm2, %ymm0, %ymm0
+; X86-AVX2-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [1,0,0,2147483648,1,0,0,2147483648]
+; X86-AVX2-NEXT: # ymm1 = mem[0,1,0,1]
----------------
Nit, I think this value is not necessary now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113564/new/
https://reviews.llvm.org/D113564
More information about the llvm-commits
mailing list