1 ; RUN: llc --filetype=obj %s -o - | dxil-dis | FileCheck %s
2 ; Make sure that DXILBitcodeWriter can handle more than 20 or so strings
5 target triple = "dxil-unknown-shadermodel6.7-library"
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}
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}
43 ; CHECK: !0 = !{!"String 0"}
44 ; CHECK: !1 = !{!"String 1"}
45 ; CHECK: !2 = !{!"String 2"}
46 ; CHECK: !3 = !{!"String 3"}
47 ; CHECK: !4 = !{!"String 4"}
48 ; CHECK: !5 = !{!"String 5"}
49 ; CHECK: !6 = !{!"String 6"}
50 ; CHECK: !7 = !{!"String 7"}
51 ; CHECK: !8 = !{!"String 8"}
52 ; CHECK: !9 = !{!"String 9"}
53 ; CHECK: !10 = !{!"String 10"}
54 ; CHECK: !11 = !{!"String 11"}
55 ; CHECK: !12 = !{!"String 12"}
56 ; CHECK: !13 = !{!"String 13"}
57 ; CHECK: !14 = !{!"String 14"}
58 ; CHECK: !15 = !{!"String 15"}
59 ; CHECK: !16 = !{!"String 16"}
60 ; CHECK: !17 = !{!"String 17"}
61 ; CHECK: !18 = !{!"String 18"}
62 ; CHECK: !19 = !{!"String 19"}
63 ; CHECK: !20 = !{!"String 20"}
64 ; CHECK: !21 = !{!"String 21"}
65 ; CHECK: !22 = !{!"String 22"}
66 ; CHECK: !23 = !{!"String 23"}
67 ; CHECK: !24 = !{!"String 24"}
68 ; CHECK: !25 = !{!"String 25"}
69 ; CHECK: !26 = !{!"String 26"}
70 ; CHECK: !27 = !{!"String 27"}
71 ; CHECK: !28 = !{!"String 28"}
72 ; CHECK: !29 = !{!"String 29"}
73 ; CHECK: !30 = !{!"String 30"}
74 ; CHECK: !31 = !{!"String 31"}