7
7
; CHECK-MIR-DAG: [[type_i64:%[0-9]+\:type\(s64\)]] = OpTypeInt 32, 0
8
8
; CHECK-MIR-DAG: [[dwarf_version:%[0-9]+\:iid\(s32\)]] = OpConstantI [[type_i64]], 5
9
9
; CHECK-MIR-DAG: [[debug_info_version:%[0-9]+\:iid\(s32\)]] = OpConstantI [[type_i64]], 3
10
- ; CHECK-MIR-DAG: [[source_language_opencl :%[0-9]+\:iid\(s32\)]] = OpConstantI [[type_i64]], 21
10
+ ; CHECK-MIR-DAG: [[source_language_sycl :%[0-9]+\:iid\(s32\)]] = OpConstantI [[type_i64]], 7
11
11
; CHECK-MIR-DAG: [[source_language_cpp:%[0-9]+\:iid\(s32\)]] = OpConstantI [[type_i64]], 4
12
- ; CHECK-MIR-DAG: [[filename_str_opencl :%[0-9]+\:id\(s32\)]] = OpString 1094795567, 1094795585, 792805697, 1111638594, 1111638594, 1128481583, 1128481603, {{1697596227|1700545347}}, 1886216568, 1663985004, 0
12
+ ; CHECK-MIR-DAG: [[filename_str_sycl :%[0-9]+\:id\(s32\)]] = OpString 1094795567, 1094795585, 792805697, 1111638594, 1111638594, 1128481583, 1128481603, {{1697596227|1700545347}}, 1886216568, 1663985004, 0
13
13
; CHECK-MIR-DAG: [[filename_str_cpp:%[0-9]+\:id\(s32\)]] = OpString 1145324591, 1145324612, 793003076, 1162167621, 1162167621, 1179010607, 1179010630, 1697596998, 1886216568, 774989164, 7368803
14
- ; CHECK-MIR-DAG: [[debug_source_opencl :%[0-9]+\:id\(s32\)]] = OpExtInst [[type_void]], 3, 35, [[filename_str_opencl ]]
15
- ; CHECK-MIR-DAG: OpExtInst [[type_void]], 3, 1, [[debug_info_version]], [[dwarf_version]], [[debug_source_opencl ]], [[source_language_opencl ]]
14
+ ; CHECK-MIR-DAG: [[debug_source_sycl :%[0-9]+\:id\(s32\)]] = OpExtInst [[type_void]], 3, 35, [[filename_str_sycl ]]
15
+ ; CHECK-MIR-DAG: OpExtInst [[type_void]], 3, 1, [[debug_info_version]], [[dwarf_version]], [[debug_source_sycl ]], [[source_language_sycl ]]
16
16
; CHECK-MIR-DAG: [[debug_source_cpp:%[0-9]+\:id\(s32\)]] = OpExtInst [[type_void]], 3, 35, [[filename_str_cpp]]
17
17
; CHECK-MIR-DAG: OpExtInst [[type_void]], 3, 1, [[debug_info_version]], [[dwarf_version]], [[debug_source_cpp]], [[source_language_cpp]]
18
18
19
19
; CHECK-SPIRV: [[ext_inst_non_semantic:%[0-9]+]] = OpExtInstImport "NonSemantic.Shader.DebugInfo.100"
20
- ; CHECK-SPIRV: [[filename_str_opencl :%[0-9]+]] = OpString "/AAAAAAAAAA/BBBBBBBB/CCCCCCCCC{{[/\\]}}example.c"
20
+ ; CHECK-SPIRV: [[filename_str_sycl :%[0-9]+]] = OpString "/AAAAAAAAAA/BBBBBBBB/CCCCCCCCC{{[/\\]}}example.c"
21
21
; CHECK-SPIRV: [[filename_str_cpp:%[0-9]+]] = OpString "/DDDDDDDDDD/EEEEEEEE/FFFFFFFFF{{[/\\]}}example1.cpp"
22
22
; CHECK-SPIRV-DAG: [[type_void:%[0-9]+]] = OpTypeVoid
23
23
; CHECK-SPIRV-DAG: [[type_i32:%[0-9]+]] = OpTypeInt 32 0
24
24
; CHECK-SPIRV-DAG: [[dwarf_version:%[0-9]+]] = OpConstant [[type_i32]] 5
25
- ; CHECK-SPIRV-DAG: [[source_language_opencl :%[0-9]+]] = OpConstant [[type_i32]] 21
25
+ ; CHECK-SPIRV-DAG: [[source_language_sycl :%[0-9]+]] = OpConstant [[type_i32]] 7
26
26
; CHECK-SPIRV-DAG: [[source_language_cpp:%[0-9]+]] = OpConstant [[type_i32]] 4
27
27
; CHECK-SPIRV-DAG: [[debug_info_version:%[0-9]+]] = OpConstant [[type_i32]] 3
28
- ; CHECK-SPIRV: [[debug_source_opencl :%[0-9]+]] = OpExtInst [[type_void]] [[ext_inst_non_semantic]] DebugSource [[filename_str_opencl ]]
29
- ; CHECK-SPIRV: OpExtInst [[type_void]] [[ext_inst_non_semantic]] DebugCompilationUnit [[debug_info_version]] [[dwarf_version]] [[debug_source_opencl ]] [[source_language_opencl ]]
28
+ ; CHECK-SPIRV: [[debug_source_sycl :%[0-9]+]] = OpExtInst [[type_void]] [[ext_inst_non_semantic]] DebugSource [[filename_str_sycl ]]
29
+ ; CHECK-SPIRV: OpExtInst [[type_void]] [[ext_inst_non_semantic]] DebugCompilationUnit [[debug_info_version]] [[dwarf_version]] [[debug_source_sycl ]] [[source_language_sycl ]]
30
30
; CHECK-SPIRV: [[debug_source_cpp:%[0-9]+]] = OpExtInst [[type_void]] [[ext_inst_non_semantic]] DebugSource [[filename_str_cpp]]
31
31
; CHECK-SPIRV: OpExtInst [[type_void]] [[ext_inst_non_semantic]] DebugCompilationUnit [[debug_info_version]] [[dwarf_version]] [[debug_source_cpp]] [[source_language_cpp]]
32
32
@@ -46,11 +46,11 @@ entry:
46
46
!llvm.dbg.cu = !{!0 , !6 }
47
47
!llvm.module.flags = !{!2 , !3 , !4 , !5 }
48
48
49
- !0 = distinct !DICompileUnit (language: DW_LANG_OpenCL , file: !1 , producer: "clang version XX.X.XXXX (FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)" , isOptimized: false , runtimeVersion: 0 , emissionKind: FullDebug, splitDebugInlining: false , nameTableKind: None)
49
+ !0 = distinct !DICompileUnit (language: DW_LANG_SYCL , file: !1 , producer: "clang version XX.X.XXXX (FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)" , isOptimized: false , runtimeVersion: 0 , emissionKind: FullDebug, splitDebugInlining: false , nameTableKind: None)
50
50
!1 = !DIFile (filename: "example.c" , directory: "/AAAAAAAAAA/BBBBBBBB/CCCCCCCCC" , checksumkind: CSK_MD5, checksum: "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" )
51
51
!2 = !{i32 7 , !"Dwarf Version" , i32 5 }
52
52
!3 = !{i32 2 , !"Debug Info Version" , i32 3 }
53
53
!4 = !{i32 1 , !"wchar_size" , i32 4 }
54
54
!5 = !{i32 7 , !"frame-pointer" , i32 2 }
55
- !6 = distinct !DICompileUnit (language: DW_LANG_C_plus_plus , file: !7 , producer: "clang version XX.X.XXXX (FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)" , isOptimized: false , runtimeVersion: 0 , emissionKind: FullDebug, splitDebugInlining: false , nameTableKind: None)
55
+ !6 = distinct !DICompileUnit (language: DW_LANG_OpenCL_CPP , file: !7 , producer: "clang version XX.X.XXXX (FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)" , isOptimized: false , runtimeVersion: 0 , emissionKind: FullDebug, splitDebugInlining: false , nameTableKind: None)
56
56
!7 = !DIFile (filename: "example1.cpp" , directory: "/DDDDDDDDDD/EEEEEEEE/FFFFFFFFF" , checksumkind: CSK_MD5, checksum: "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" )
0 commit comments