File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ void foo() {
42
42
// CHECK: define {{.*}}spir_func void @_ZN4Base11testVirtualEv{{.*}} #[[BaseAttrs:[0-9]+]]
43
43
// CHECK: define {{.*}}spir_func void @_ZN8Derived111testVirtualEv{{.*}} #[[Derived1Attrs:[0-9]+]]
44
44
// CHECK: define {{.*}}spir_func void @_ZN8Derived211testVirtualEv{{.*}} #[[Derived2Attrs:[0-9]+]]
45
- // CHECK: attributes #[[BaseAttrs]] = { {{.*}}"PropBase"="PropVal"{{.*}} }
46
- // CHECK: attributes #[[Derived1Attrs]] = { {{.*}}"PropDerived"="PropVal"{{.*}} }
47
45
// CHECK: attributes #[[Derived2Attrs]] = {
48
46
// CHECK-NOT: PropBase
49
47
// CHECK-NOT: PropDerived
50
48
// CHECK: }
49
+ // CHECK: attributes #[[BaseAttrs]] = { {{.*}}"PropBase"="PropVal"{{.*}} }
50
+ // CHECK: attributes #[[Derived1Attrs]] = { {{.*}}"PropDerived"="PropVal"{{.*}} }
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ class A {
21
21
// CHECK-DAG: define {{.*}}spir_func noundef i32 @_Z5bar20{{.*}}#[[ATTRS_NOT_INDIR_CALL]]
22
22
[[intel::device_indirectly_callable]] void foo () { bar20 (10 ); }
23
23
24
- // CHECK-DAG: define linkonce_odr spir_func void @_ZN1AC1Ev{{.*}}#[[ATTRS_INDIR_CALL_1:[0-9]+ ]]
24
+ // CHECK-DAG: define linkonce_odr spir_func void @_ZN1AC1Ev{{.*}}#[[ATTRS_INDIR_CALL ]]
25
25
[[intel::device_indirectly_callable]] A() {}
26
- // CHECK-DAG: define linkonce_odr spir_func void @_ZN1AD1Ev{{.*}}#[[ATTRS_INDIR_CALL_1 ]]
26
+ // CHECK-DAG: define linkonce_odr spir_func void @_ZN1AD1Ev{{.*}}#[[ATTRS_INDIR_CALL ]]
27
27
[[intel::device_indirectly_callable]] ~A () {}
28
28
29
29
template <typename T>
@@ -67,4 +67,3 @@ struct Finalizer1 : Base {
67
67
68
68
// CHECK: attributes #[[ATTRS_INDIR_CALL]] = { {{.*}} "referenced-indirectly"
69
69
// CHECK-NOT: attributes #[[ATTRS_NOT_INDIR_CALL]] = { {{.*}} "referenced-indirectly"
70
- // CHECK: attributes #[[ATTRS_INDIR_CALL_1]] = { {{.*}} "referenced-indirectly"
You can’t perform that action at this time.
0 commit comments