[llvm] [X86] X86FixupVectorConstants - load+zero vector constants that can be stored in a truncated form (PR #80428)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 05:24:24 PST 2024


================
@@ -109,13 +109,13 @@ define <64 x i8> @shuffle_v64i8_79_00_01_02_03_04_05_06_07_08_09_10_11_12_13_14_
 define <64 x i8> @shuffle_v64i8_0zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz(<64 x i8> %a) {
 ; AVX512F-LABEL: shuffle_v64i8_0zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz:
 ; AVX512F:       # %bb.0:
-; AVX512F-NEXT:    vmovd {{.*#+}} xmm1 = [255,0,0,0]
----------------
phoebewang wrote:

Shouldn't we prefer `vmovd` to `vpmovzxbq`?

https://github.com/llvm/llvm-project/pull/80428


More information about the llvm-commits mailing list