Skip to content

Commit

Permalink
test: Repair CF bridging call test for non x64 targets
Browse files Browse the repository at this point in the history
The test was failing on aarch64 targets because the `notail` is
specified only for x86_64 targets.
  • Loading branch information
kateinoigakukun committed Mar 2, 2024
1 parent 48e65c6 commit 2e99ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/IRGen/cf_objc_retainAutoreleasedReturnValue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ public func foo() {
// CHECK-LABEL: define {{.*}}swiftcc void @"$s37cf_objc_retainAutoreleasedReturnValue3fooyyF"()
// CHECK: entry:
// CHECK: %0 = call {{.*}}@returnsACFBridgedType()
// CHECK: %1 = notail call ptr @llvm.objc.retainAutoreleasedReturnValue(ptr %0)
// CHECK: %1 = {{.*}call ptr @llvm.objc.retainAutoreleasedReturnValue(ptr %0)

0 comments on commit 2e99ffc

Please sign in to comment.