Fix arm64e lit tests for -sil-print-types

Fixes rdar://141001921 (OSS Swift CI:
oss-swift_tools-RA_stdlib-DA_test-device-non_executable failed:
test: IRGen/loadable_by_address_objc
test: SILGen/ptrauth_field_fptr_import)
This commit is contained in:
Andrew Trick
2024-12-05 14:10:00 -08:00
parent 5db0f83ac7
commit fcedfca6d5
2 changed files with 2 additions and 2 deletions

View File

@@ -25,5 +25,5 @@ test()
// SIL: sil hidden @$s31loadable_by_address_objc_method4testyyF : $@convention(thin) () -> () {
// SIL: [[C:%.*]] = convert_function {{.*}} : $@convention(objc_method) (SamplesType, @opened({{.*}}, any P) Self) -> SamplesType to $@convention(objc_method) (@in_guaranteed SamplesType, @opened({{.*}}, any P) Self) -> @out SamplesType
// SIL: [[C:%.*]] = convert_function {{.*}} to $@convention(objc_method) (@in_guaranteed SamplesType, @opened({{.*}}, any P) Self) -> @out SamplesType
// SIL: partial_apply [callee_guaranteed] [[C]]({{.*}}) : $@convention(objc_method) (@in_guaranteed SamplesType, @opened({{.*}}, any P) Self) -> @out SamplesType

View File

@@ -1,4 +1,4 @@
// RUN: %swift-frontend %s -emit-silgen -target arm64e-apple-ios13.0 -I %S/Inputs/ | %FileCheck %s
// RUN: %swift-frontend %s -emit-silgen -Xllvm -sil-print-types -target arm64e-apple-ios13.0 -I %S/Inputs/ | %FileCheck %s
// REQUIRES: CPU=arm64e
// REQUIRES: OS=ios