Skip to content

Commit 34d6d61

Browse files
committed
update md-manystrings to use DXIL compatible metadata
this test checks that we can embed lots of string as metadata into DXIL bitcode and retrieve it again renaming the metadata to llvm.ident retains the testing with a DXIL compatible metadata node
1 parent fe497d3 commit 34d6d61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/tools/dxil-dis/md-manystrings.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
target triple = "dxil-unknown-shadermodel6.7-library"
66

7-
!llvm.too_many_strings = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !28, !29, !30, !31}
7+
!llvm.ident = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !28, !29, !30, !31}
88

99
!0 = !{!"String 0"}
1010
!1 = !{!"String 1"}
@@ -39,7 +39,7 @@ target triple = "dxil-unknown-shadermodel6.7-library"
3939
!30 = !{!"String 30"}
4040
!31 = !{!"String 31"}
4141

42-
; CHECK: !llvm.too_many_strings = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !28, !29, !30, !31}
42+
; CHECK: !llvm.ident = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !28, !29, !30, !31}
4343
; CHECK: !0 = !{!"String 0"}
4444
; CHECK: !1 = !{!"String 1"}
4545
; CHECK: !2 = !{!"String 2"}

0 commit comments

Comments
 (0)