Skip to content

Commit 5a88f7b

Browse files
authored
Updated tests after pulldown (#11887)
Affected by [clang][CodeGen] Ensure consistent mustprogress attribute emission 970bf07d0b184c7ec35
1 parent 2ec9940 commit 5a88f7b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

clang/test/CodeGenSYCL/add_ir_attributes_function_virtual.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ void foo() {
4242
// CHECK: define {{.*}}spir_func void @_ZN4Base11testVirtualEv{{.*}} #[[BaseAttrs:[0-9]+]]
4343
// CHECK: define {{.*}}spir_func void @_ZN8Derived111testVirtualEv{{.*}} #[[Derived1Attrs:[0-9]+]]
4444
// CHECK: define {{.*}}spir_func void @_ZN8Derived211testVirtualEv{{.*}} #[[Derived2Attrs:[0-9]+]]
45-
// CHECK: attributes #[[BaseAttrs]] = { {{.*}}"PropBase"="PropVal"{{.*}} }
46-
// CHECK: attributes #[[Derived1Attrs]] = { {{.*}}"PropDerived"="PropVal"{{.*}} }
4745
// CHECK: attributes #[[Derived2Attrs]] = {
4846
// CHECK-NOT: PropBase
4947
// CHECK-NOT: PropDerived
5048
// CHECK: }
49+
// CHECK: attributes #[[BaseAttrs]] = { {{.*}}"PropBase"="PropVal"{{.*}} }
50+
// CHECK: attributes #[[Derived1Attrs]] = { {{.*}}"PropDerived"="PropVal"{{.*}} }

clang/test/CodeGenSYCL/device-indirectly-callable-attr.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class A {
2121
// CHECK-DAG: define {{.*}}spir_func noundef i32 @_Z5bar20{{.*}}#[[ATTRS_NOT_INDIR_CALL]]
2222
[[intel::device_indirectly_callable]] void foo() { bar20(10); }
2323

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]]
2525
[[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]]
2727
[[intel::device_indirectly_callable]] ~A() {}
2828

2929
template <typename T>
@@ -67,4 +67,3 @@ struct Finalizer1 : Base {
6767

6868
// CHECK: attributes #[[ATTRS_INDIR_CALL]] = { {{.*}} "referenced-indirectly"
6969
// CHECK-NOT: attributes #[[ATTRS_NOT_INDIR_CALL]] = { {{.*}} "referenced-indirectly"
70-
// CHECK: attributes #[[ATTRS_INDIR_CALL_1]] = { {{.*}} "referenced-indirectly"

0 commit comments

Comments
 (0)