Skip to content

Commit 3bc6ec5

Browse files
committed
IRGen: Fix outlined_copy_addr test for certain release builds
In some build configurations, LLVM variables don't get names.
1 parent 1d66f0a commit 3bc6ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/outlined_copy_addr.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct MyPrivate<T: P> {
3737
var otherHelper: OtherInternal<T>? = nil
3838

3939
// CHECK-LABEL: define hidden swiftcc {{i32|i64}} @"$S11outcopyaddr9MyPrivateVyACyxGxcfC"(%swift.opaque* noalias nocapture, %swift.type* %T, i8** %T.P) {{.*}} {
40-
// CHECK: call %T11outcopyaddr9MyPrivateV* @"$S11outcopyaddr9MyPrivateVyxGAA1PRzlWOh"(%T11outcopyaddr9MyPrivateV* %self)
40+
// CHECK: call %T11outcopyaddr9MyPrivateV* @"$S11outcopyaddr9MyPrivateVyxGAA1PRzlWOh"(%T11outcopyaddr9MyPrivateV* {{%.*}})
4141
// CHECK: ret
4242
init(_: T) { }
4343
}

0 commit comments

Comments
 (0)