[PATCH] D104903: [X86] Twist shuffle mask when fold HOP(SHUFFLE(X,Y),SHUFFLE(X,Y)) -> SHUFFLE(HOP(X,Y))
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 29 11:26:25 PDT 2021
RKSimon added inline comments.
================
Comment at: llvm/test/CodeGen/X86/packss.ll:373
; AVX2-NEXT: vpacksswb %ymm0, %ymm1, %ymm0
-; AVX2-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,0,2,3]
+; AVX2-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,0,3]
; AVX2-NEXT: ret{{[l|q]}}
----------------
pengfei wrote:
> This is a bug. Verified here https://godbolt.org/z/x5Kns4Mha
Did you manage to track this one down?
================
Comment at: llvm/test/CodeGen/X86/pr50823.ll:6
+
+declare <8 x float> @llvm.x86.avx.maskload.ps.256(i8*, <8 x i32>)
+declare <8 x float> @llvm.x86.avx.hadd.ps.256(<8 x float>, <8 x float>)
----------------
unused declaration?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104903/new/
https://reviews.llvm.org/D104903
More information about the llvm-commits
mailing list