Skip to content

Commit 5c2f5a2

Browse files
authored
Merge pull request #60578 from aschwaighofer/fix_irgen_failures_98722116
Fix tests IRGen/abitypes.swift and IRGen/objc_object_getClass.swift on watchOS
2 parents cfb4e60 + 2dc50a6 commit 5c2f5a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/IRGen/abitypes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ class Foo {
569569

570570
// armv7-ios: define internal void @makeOne(%struct.One* noalias sret({{.*}}) align 4 %agg.result, float %f, float %s)
571571
// armv7s-ios: define internal void @makeOne(%struct.One* noalias sret({{.*}}) align 4 %agg.result, float %f, float %s)
572-
// armv7k-watchos: define internal %struct.One @makeOne(float %f, float %s)
572+
// armv7k-watchos: define internal %struct.One @makeOne(float {{.*}}%f, float {{.*}}%s)
573573

574574
// rdar://17631440 - Expand direct arguments that are coerced to aggregates.
575575
// x86_64-macosx: define{{( protected)?}} swiftcc float @"$s8abitypes13testInlineAggySfSo6MyRectVF"(float %0, float %1, float %2, float %3) {{.*}} {

test/IRGen/objc_object_getClass.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ func test(_ o: ObjCSubclass) {
1818
o.field = 10
1919
}
2020

21-
// CHECK: declare i8* @object_getClass(i8*)
22-
// CHECK: call %objc_class* bitcast (i8* (i8*)* @object_getClass to %objc_class* (%objc_object*)*)(%objc_object* %{{.*}})
21+
// CHECK-DAG: declare i8* @object_getClass(i8*)
22+
// CHECK-DAG: call %objc_class* bitcast (i8* (i8*)* @object_getClass to %objc_class* (%objc_object*)*)(%objc_object* %{{.*}})

0 commit comments

Comments
 (0)