Skip to content

Commit 4b57e4a

Browse files
Rohit AggarwalRohit Aggarwal
Rohit Aggarwal
authored and
Rohit Aggarwal
committed
Update undef to poison in testcase
1 parent f0a175a commit 4b57e4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/CodeGen/X86/masked_gather_scatter.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4963,7 +4963,7 @@ define {<16 x float>, <16 x float>} @test_gather_16f32_mask_index_pair(ptr %x, p
49634963
%res1 = call <16 x float> @llvm.masked.gather.v16f32.v16p0(<16 x ptr> %ptrs1, i32 4, <16 x i1> %mask, <16 x float> %src0)
49644964
%ptrs = getelementptr inbounds %struct.pt, ptr %x, <16 x i64> %zext, i32 1
49654965
%res = call <16 x float> @llvm.masked.gather.v16f32.v16p0(<16 x ptr> %ptrs, i32 4, <16 x i1> %mask, <16 x float> %src0)
4966-
%pair1 = insertvalue {<16 x float>, <16 x float>} undef, <16 x float> %res1, 0
4966+
%pair1 = insertvalue {<16 x float>, <16 x float>} poison, <16 x float> %res1, 0
49674967
%pair2 = insertvalue {<16 x float>, <16 x float>} %pair1, <16 x float> %res, 1
49684968
ret {<16 x float>, <16 x float>} %pair2
49694969
}
@@ -5188,7 +5188,7 @@ define {<8 x float>, <8 x float>} @test_gather_8f32_mask_index_pair(ptr %x, ptr
51885188
%res1 = call <8 x float> @llvm.masked.gather.v8f32.v8p0(<8 x ptr> %ptrs1, i32 4, <8 x i1> %mask, <8 x float> %src0)
51895189
%ptrs = getelementptr inbounds %struct.pt2, ptr %x, <8 x i64> %zext, i32 1
51905190
%res = call <8 x float> @llvm.masked.gather.v8f32.v8p0(<8 x ptr> %ptrs, i32 4, <8 x i1> %mask, <8 x float> %src0)
5191-
%pair1 = insertvalue {<8 x float>, <8 x float>} undef, <8 x float> %res1, 0
5191+
%pair1 = insertvalue {<8 x float>, <8 x float>} poison, <8 x float> %res1, 0
51925192
%pair2 = insertvalue {<8 x float>, <8 x float>} %pair1, <8 x float> %res, 1
51935193
ret {<8 x float>, <8 x float>} %pair2
51945194
}
@@ -5400,7 +5400,7 @@ define {<16 x float>, <16 x float>} @test_gather_16f32_mask_index_pair2(ptr %x,
54005400
%res1 = call <16 x float> @llvm.masked.gather.v16f32.v16p0(<16 x ptr> %ptrs1, i32 4, <16 x i1> %mask, <16 x float> %src0)
54015401
%ptrs = getelementptr inbounds %struct.pt2, ptr %x, <16 x i64> %zext, i32 1
54025402
%res = call <16 x float> @llvm.masked.gather.v16f32.v16p0(<16 x ptr> %ptrs, i32 4, <16 x i1> %mask, <16 x float> %src0)
5403-
%pair1 = insertvalue {<16 x float>, <16 x float>} undef, <16 x float> %res1, 0
5403+
%pair1 = insertvalue {<16 x float>, <16 x float>} poison, <16 x float> %res1, 0
54045404
%pair2 = insertvalue {<16 x float>, <16 x float>} %pair1, <16 x float> %res, 1
54055405
ret {<16 x float>, <16 x float>} %pair2
54065406
}

0 commit comments

Comments
 (0)