Skip to content

Commit 25fc23d

Browse files
aparshin-intelNikitaRudenkoIntel
authored andcommitted
disable spirv-val since it seems that it does work well with existing sw stack
1 parent ee391ea commit 25fc23d

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

test/transcoding/dbginfo-bug-on-bool-converts.ll

+9-16
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
; RUN: llvm-as %s -o %t.bc
22
; RUN: llvm-spirv %t.bc -o %t.spv
3-
; RUN: spirv-val %t.spv
43
; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
54
; RUN: llvm-dis < %t.rev.bc | FileCheck %s
65

7-
source_filename = "/the_file.ll"
8-
target triple = "spir"
6+
source_filename = "the_file.ll"
7+
target triple = "spir64-unknown-unknown"
98

109
; Function Attrs: nounwind
1110
define spir_func i1 @trunc_to_i1(i32 %iarg) #0 !dbg !7 {
@@ -72,36 +71,30 @@ define spir_func float @uitofp_b(i1 %barg) #0 !dbg !20 {
7271

7372
attributes #0 = { nounwind }
7473

75-
!opencl.enable.FP_CONTRACT = !{}
76-
!opencl.spir.version = !{!0}
77-
!opencl.ocl.version = !{!0}
78-
!opencl.used.extensions = !{!1}
79-
!opencl.used.optional.core.features = !{!1}
80-
!opencl.compiler.options = !{!1}
8174
!llvm.dbg.cu = !{!2}
8275
!llvm.debugify = !{!4, !5}
8376
!llvm.module.flags = !{!6}
8477

8578
!0 = !{i32 1, i32 2}
8679
!1 = !{}
87-
!2 = distinct !DICompileUnit(language: DW_LANG_C, file: !3, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug)
88-
!3 = !DIFile(filename: "/the_file.ll", directory: "/")
80+
!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug)
81+
!3 = !DIFile(filename: "the_file.ll", directory: "", checksumkind: CSK_MD5, checksum: "18aa9ce738eaafc7b7b7181c19092815")
8982
!4 = !{i32 10}
9083
!5 = !{i32 0}
9184
!6 = !{i32 2, !"Debug Info Version", i32 3}
92-
!7 = distinct !DISubprogram(name: "trunc_to_i1", linkageName: "trunc_to_i1", scope: null, file: !3, line: 1, type: !8, scopeLine: 1, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !1)
85+
!7 = distinct !DISubprogram(name: "trunc_to_i1", scope: !3, file: !3, line: 1, type: !8, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !1)
9386
!8 = !DISubroutineType(types: !1)
9487
!9 = !DILocation(line: 1, column: 1, scope: !7)
9588
!10 = !DILocation(line: 2, column: 1, scope: !7)
96-
!11 = distinct !DISubprogram(name: "sext_from_i1", linkageName: "sext_from_i1", scope: null, file: !3, line: 3, type: !8, scopeLine: 3, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !1)
89+
!11 = distinct !DISubprogram(name: "sext_from_i1", scope: !3, file: !3, line: 3, type: !8, scopeLine: 3, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !1)
9790
!12 = !DILocation(line: 3, column: 1, scope: !11)
9891
!13 = !DILocation(line: 4, column: 1, scope: !11)
99-
!14 = distinct !DISubprogram(name: "zext_from_i1", linkageName: "zext_from_i1", scope: null, file: !3, line: 5, type: !8, scopeLine: 5, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !1)
92+
!14 = distinct !DISubprogram(name: "zext_from_i1", scope: !3, file: !3, line: 5, type: !8, scopeLine: 5, flags: DIFlagPrototyped , spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !1)
10093
!15 = !DILocation(line: 5, column: 1, scope: !14)
10194
!16 = !DILocation(line: 6, column: 1, scope: !14)
102-
!17 = distinct !DISubprogram(name: "sitofp_b", linkageName: "sitofp_b", scope: null, file: !3, line: 7, type: !8, scopeLine: 7, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !1)
95+
!17 = distinct !DISubprogram(name: "sitofp_b", scope: !3, file: !3, line: 7, type: !8, scopeLine: 7, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !1)
10396
!18 = !DILocation(line: 7, column: 1, scope: !17)
10497
!19 = !DILocation(line: 8, column: 1, scope: !17)
105-
!20 = distinct !DISubprogram(name: "uitofp_b", linkageName: "uitofp_b", scope: null, file: !3, line: 9, type: !8, scopeLine: 9, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !1)
98+
!20 = distinct !DISubprogram(name: "uitofp_b", scope: !3, file: !3, line: 9, type: !8, scopeLine: 9, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !1)
10699
!21 = !DILocation(line: 9, column: 1, scope: !20)
107100
!22 = !DILocation(line: 10, column: 1, scope: !20)

0 commit comments

Comments
 (0)