@@ -55,20 +55,20 @@ entry:
55
55
store %"class._ZTSZZ4mainENK3$_0clERN2cl4sycl7handlerEEUlvE_.anon" addrspace (4 )* %this , %"class._ZTSZZ4mainENK3$_0clERN2cl4sycl7handlerEEUlvE_.anon" addrspace (4 )** %this.addr , align 8 , !tbaa !69
56
56
call void @llvm.dbg.declare (metadata %"class._ZTSZZ4mainENK3$_0clERN2cl4sycl7handlerEEUlvE_.anon" addrspace (4 )** %this.addr , metadata !50 , metadata !DIExpression ()), !dbg !71
57
57
%this1 = load %"class._ZTSZZ4mainENK3$_0clERN2cl4sycl7handlerEEUlvE_.anon" addrspace (4 )*, %"class._ZTSZZ4mainENK3$_0clERN2cl4sycl7handlerEEUlvE_.anon" addrspace (4 )** %this.addr , align 8
58
- ; CHECK: {{[0-9]+}} ExtInst {{[0-9 ]+}} DebugNoScope
58
+ ; CHECK: {{[0-9]+}} ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9 ]+}} DebugNoScope
59
59
%0 = bitcast [1 x i8 ]* %Buf to i8* , !dbg !72
60
60
call void @llvm.lifetime.start.p0i8 (i64 1 , i8* %0 ) #5 , !dbg !72
61
61
call void @llvm.dbg.declare (metadata [1 x i8 ]* %Buf , metadata !52 , metadata !DIExpression ()), !dbg !73
62
62
%Buf2 = bitcast [1 x i8 ]* %Buf to i8* , !dbg !72
63
63
call void @llvm.var.annotation (i8* %Buf2 , i8* getelementptr inbounds ([25 x i8 ], [25 x i8 ]* @.str , i32 0 , i32 0 ), i8* getelementptr inbounds ([29 x i8 ], [29 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 15 , i8* null ), !dbg !72
64
- ; CHECK: {{[0-9]+}} ExtInst {{[0-9 ]+}} DebugNoScope
64
+ ; CHECK: {{[0-9]+}} ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9 ]+}} DebugNoScope
65
65
; CHECK-NEXT: {{[0-9]+}} InBoundsPtrAccessChain {{[0-9]+}} {{[0-9]+}} [[ANNO_PUMP_ID]]
66
66
; CHECK-NEXT: {{[0-9]+}} InBoundsPtrAccessChain {{[0-9]+}} {{[0-9]+}} [[FILE_ID]]
67
67
call spir_func void @_Z1fv (), !dbg !74
68
68
; -- var.annotation call is dropped. Restore debug scope after the call.
69
- ; CHECK-NEXT: {{[0-9]+}} ExtInst {{[0-9 ]+}} DebugScope
69
+ ; CHECK-NEXT: {{[0-9]+}} ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9 ]+}} DebugScope
70
70
; CHECK-NEXT: {{[0-9]+}} Line
71
- ; CHECK-NEXT: {{[0-9]+}} FunctionCall {{[0-9 ]+}} [[F_ID]]
71
+ ; CHECK-NEXT: {{[0-9]+}} FunctionCall {{[0-9]+}} {{[0-9 ]+}} [[F_ID]]
72
72
%1 = bitcast i32* %a to i8* , !dbg !75
73
73
call void @llvm.lifetime.start.p0i8 (i64 4 , i8* %1 ) #5 , !dbg !75
74
74
call void @llvm.dbg.declare (metadata i32* %a , metadata !53 , metadata !DIExpression ()), !dbg !76
@@ -78,11 +78,11 @@ entry:
78
78
call void @llvm.dbg.declare (metadata i32* %b , metadata !54 , metadata !DIExpression ()), !dbg !80
79
79
%3 = load i32 , i32* %a , align 4 , !dbg !81 , !tbaa !77
80
80
%4 = call i32 @llvm.annotation.i32 (i32 %3 , i8* getelementptr inbounds ([25 x i8 ], [25 x i8 ]* @.str.2 , i32 0 , i32 0 ), i8* getelementptr inbounds ([29 x i8 ], [29 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 18 ), !dbg !82
81
- ; CHECK: {{[0-9]+}} ExtInst {{[0-9 ]+}} DebugNoScope
81
+ ; CHECK: {{[0-9]+}} ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9 ]+}} DebugNoScope
82
82
; CHECK-NEXT: {{[0-9]+}} InBoundsPtrAccessChain {{[0-9]+}} {{[0-9]+}} [[FPGA_REG_ID]]
83
83
store i32 %4 , i32* %b , align 4 , !dbg !80 , !tbaa !77
84
84
; -- Restore debug scope after the call in both cases with or without SPV_INTEL_fpga_reg extension.
85
- ; CHECK-NEXT: {{[0-9]+}} ExtInst {{[0-9 ]+}} DebugScope
85
+ ; CHECK-NEXT: {{[0-9]+}} ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9 ]+}} DebugScope
86
86
; CHECK-NEXT: {{[0-9]+}} Line
87
87
; CHECK-SPV-NEXT: {{[0-9]+}} Store
88
88
; CHECK-SPV-FPGA_REG-NEXT: {{[0-9]+}} FPGARegINTEL
@@ -105,11 +105,11 @@ entry:
105
105
%mem = getelementptr inbounds %"struct._ZTSZZZ4mainENK3$_0clERN2cl4sycl7handlerEENKUlvE_clEvE3s_d.s_d" , %"struct._ZTSZZZ4mainENK3$_0clERN2cl4sycl7handlerEENKUlvE_clEvE3s_d.s_d" * %d , i32 0 , i32 0 , !dbg !89
106
106
%10 = bitcast [8 x i32 ]* %mem to i8* , !dbg !89
107
107
%11 = call i8* @llvm.ptr.annotation.p0i8 (i8* %10 , i8* getelementptr inbounds ([29 x i8 ], [29 x i8 ]* @.str.3 , i32 0 , i32 0 ), i8* getelementptr inbounds ([29 x i8 ], [29 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 21 , i8* null ), !dbg !89
108
- ; CHECK: {{[0-9]+}} ExtInst {{[0-9 ]+}} DebugNoScope
108
+ ; CHECK: {{[0-9]+}} ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9 ]+}} DebugNoScope
109
109
; CHECK-NEXT: {{[0-9]+}} InBoundsPtrAccessChain {{[0-9]+}} {{[0-9]+}} [[ANNO_NUMBANKS_ID]]
110
110
%12 = bitcast i8* %11 to [8 x i32 ]*, !dbg !89
111
111
; -- annotation call is dropped. Restore debug scope
112
- ; CHECK-NEXT: {{[0-9]+}} ExtInst {{[0-9 ]+}} DebugScope
112
+ ; CHECK-NEXT: {{[0-9]+}} ExtInst {{[0-9]+}} {{[0-9]+}} {{[0-9 ]+}} DebugScope
113
113
; CHECK-NEXT: {{[0-9]+}} Bitcast
114
114
%arrayidx = getelementptr inbounds [8 x i32 ], [8 x i32 ]* %12 , i64 0 , i64 0 , !dbg !90
115
115
store i32 42 , i32* %arrayidx , align 4 , !dbg !91 , !tbaa !77
0 commit comments