diff options
author | Qi Zhao <zhaoqi01@loongson.cn> | 2025-08-04 16:50:54 +0800 |
---|---|---|
committer | Qi Zhao <zhaoqi01@loongson.cn> | 2025-08-11 10:28:07 +0800 |
commit | e0ba234672430cff502506210a7b2db6ef704fc7 (patch) | |
tree | 9f337940e195c7babacb5a659ec2d756bfd0fe27 | |
parent | 1358e2fec8e20378157da6fe5a6a1ef913bace2a (diff) | |
download | llvm-users/zhaoqi5/test-vec-addressmode.zip llvm-users/zhaoqi5/test-vec-addressmode.tar.gz llvm-users/zhaoqi5/test-vec-addressmode.tar.bz2 |
pass formatusers/zhaoqi5/test-vec-addressmode
-rw-r--r-- | llvm/test/CodeGen/LoongArch/lasx/loop-reduce.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/LoongArch/lsx/loop-reduce.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/LoongArch/lasx/loop-reduce.ll b/llvm/test/CodeGen/LoongArch/lasx/loop-reduce.ll index 9739d30..957f6fc 100644 --- a/llvm/test/CodeGen/LoongArch/lasx/loop-reduce.ll +++ b/llvm/test/CodeGen/LoongArch/lasx/loop-reduce.ll @@ -40,7 +40,7 @@ vector.body: ; preds = %vector.body, %entry %index = phi i64 [ 0, %entry ], [ %index.next, %vector.body ] %0 = getelementptr inbounds nuw [1024 x { i32, i32 }], ptr @a, i64 0, i64 %index %a = load <8 x i32>, ptr %0, align 4 - %b = shufflevector <8 x i32> %a, <8 x i32> undef, <8 x i32> <i32 1, i32 7, i32 undef, i32 0, i32 undef, i32 undef, i32 3, i32 5> + %b = shufflevector <8 x i32> %a, <8 x i32> poison, <8 x i32> <i32 1, i32 7, i32 poison, i32 0, i32 poison, i32 poison, i32 3, i32 5> store <8 x i32> %b, ptr %0, align 4 %index.next = add nuw i64 %index, 2 %1 = icmp eq i64 %index.next, 1024 diff --git a/llvm/test/CodeGen/LoongArch/lsx/loop-reduce.ll b/llvm/test/CodeGen/LoongArch/lsx/loop-reduce.ll index fbb4d06..b5e7bb6 100644 --- a/llvm/test/CodeGen/LoongArch/lsx/loop-reduce.ll +++ b/llvm/test/CodeGen/LoongArch/lsx/loop-reduce.ll @@ -32,7 +32,7 @@ vector.body: ; preds = %vector.body, %entry %index = phi i64 [ 0, %entry ], [ %index.next, %vector.body ] %0 = getelementptr inbounds nuw [1024 x { i32, i32 }], ptr @a, i64 0, i64 %index %a = load <4 x i32>, ptr %0, align 4 - %b = shufflevector <4 x i32> %a, <4 x i32> undef, <4 x i32> <i32 1, i32 2, i32 undef, i32 0> + %b = shufflevector <4 x i32> %a, <4 x i32> poison, <4 x i32> <i32 1, i32 2, i32 poison, i32 0> store <4 x i32> %b, ptr %0, align 4 %index.next = add nuw i64 %index, 2 %1 = icmp eq i64 %index.next, 1024 |