Skip to content

Commit 4c0470d

Browse files
committed
pass format
1 parent 913180d commit 4c0470d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/CodeGen/LoongArch/lasx/loop-reduce.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ vector.body: ; preds = %vector.body, %entry
4040
%index = phi i64 [ 0, %entry ], [ %index.next, %vector.body ]
4141
%0 = getelementptr inbounds nuw [1024 x { i32, i32 }], ptr @a, i64 0, i64 %index
4242
%a = load <8 x i32>, ptr %0, align 4
43-
%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>
43+
%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>
4444
store <8 x i32> %b, ptr %0, align 4
4545
%index.next = add nuw i64 %index, 2
4646
%1 = icmp eq i64 %index.next, 1024

llvm/test/CodeGen/LoongArch/lsx/loop-reduce.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ vector.body: ; preds = %vector.body, %entry
3232
%index = phi i64 [ 0, %entry ], [ %index.next, %vector.body ]
3333
%0 = getelementptr inbounds nuw [1024 x { i32, i32 }], ptr @a, i64 0, i64 %index
3434
%a = load <4 x i32>, ptr %0, align 4
35-
%b = shufflevector <4 x i32> %a, <4 x i32> undef, <4 x i32> <i32 1, i32 2, i32 undef, i32 0>
35+
%b = shufflevector <4 x i32> %a, <4 x i32> poison, <4 x i32> <i32 1, i32 2, i32 poison, i32 0>
3636
store <4 x i32> %b, ptr %0, align 4
3737
%index.next = add nuw i64 %index, 2
3838
%1 = icmp eq i64 %index.next, 1024

0 commit comments

Comments
 (0)