Skip to content

Commit e617ecf

Browse files
test: Repair CF bridging call test for non x64 targets
The test was failing on aarch64 targets because the `notail` is specified only for x86_64 targets.
1 parent 48e65c6 commit e617ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/cf_objc_retainAutoreleasedReturnValue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ public func foo() {
1717
// CHECK-LABEL: define {{.*}}swiftcc void @"$s37cf_objc_retainAutoreleasedReturnValue3fooyyF"()
1818
// CHECK: entry:
1919
// CHECK: %0 = call {{.*}}@returnsACFBridgedType()
20-
// CHECK: %1 = notail call ptr @llvm.objc.retainAutoreleasedReturnValue(ptr %0)
20+
// CHECK: %1 = {{.*}}call ptr @llvm.objc.retainAutoreleasedReturnValue(ptr %0)

0 commit comments

Comments
 (0)