[PATCH] D104903: [X86] Limit the scaled element type to i64/f64
Pengfei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 27 02:57:51 PDT 2021
pengfei 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]}}
----------------
This is a bug. Verified here https://godbolt.org/z/x5Kns4Mha
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