Skip to content

Commit 9e91725

Browse files
authored
AMDGPU: Replace some undef uses in test metadata with poison (#131052)
1 parent 26ae98c commit 9e91725

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ attributes #3 = { optnone noinline "amdgpu-no-completion-action" "amdgpu-no-defa
17791779
!2 = !{!"none"}
17801780
!3 = !{!"int"}
17811781
!4 = !{!""}
1782-
!5 = !{i32 undef, i32 1}
1782+
!5 = !{i32 poison, i32 1}
17831783
!6 = !{i32 1, i32 2, i32 4}
17841784
!7 = !{<4 x i32> poison, i32 0}
17851785
!8 = !{i32 8, i32 16, i32 32}
@@ -1800,13 +1800,13 @@ attributes #3 = { optnone noinline "amdgpu-no-completion-action" "amdgpu-no-defa
18001800
!23 = !{!"none", !"none", !"none"}
18011801
!24 = !{!"int", !"short2", !"char3"}
18021802
!25 = !{!"", !"", !""}
1803-
!26 = !{half undef, i32 1}
1804-
!27 = !{float undef, i32 1}
1805-
!28 = !{double undef, i32 1}
1806-
!29 = !{i8 undef, i32 1}
1807-
!30 = !{i16 undef, i32 1}
1808-
!31 = !{i64 undef, i32 1}
1809-
!32 = !{ptr addrspace(5) undef, i32 1}
1803+
!26 = !{half poison, i32 1}
1804+
!27 = !{float poison, i32 1}
1805+
!28 = !{double poison, i32 1}
1806+
!29 = !{i8 poison, i32 1}
1807+
!30 = !{i16 poison, i32 1}
1808+
!31 = !{i64 poison, i32 1}
1809+
!32 = !{ptr addrspace(5) poison, i32 1}
18101810
!50 = !{i32 1, i32 2, i32 3}
18111811
!51 = !{!"int addrspace(5)*", !"int addrspace(5)*", !"int addrspace(5)*"}
18121812
!60 = !{i32 1, i32 1, i32 1}

0 commit comments

Comments
 (0)