Skip to content

Commit d44b792

Browse files
committed
Fix tests
1 parent 4033616 commit d44b792

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/IRGen/runtime_calling_conventions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class C {
1111
// Check that runtime functions use a proper calling convention.
1212
// CHECK-NOT: call void {{.*}} @swift_release
1313

14-
// OPT-CHECK-LABEL: define {{(dllexport )?}}{{(protected )?}}swiftcc void @"$s27runtime_calling_conventions3fooyyAA1CCF"(%T27runtime_calling_conventions1CC* nocapture %0)
14+
// OPT-CHECK-LABEL: define {{(dllexport )?}}{{(protected )?}}swiftcc void @"$s{{(27|28)}}runtime_calling_conventions3fooyyAA1CCF"(%T27runtime_calling_conventions1CC* nocapture{{.*}} %0)
1515
// Check that runtime functions use a proper calling convention.
1616
// OPT-CHECK-NOT: tail call void @swift_release
1717

test/SILOptimizer/devirt_witness_method_empty_conformance.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ extension ApplyRegStruct {
7676
from space: PublicEnum, transform: RegStruct
7777
) {
7878
transform.funcInStructAndProtAndExt(.case2, space: space) {
79-
// CHECK-LABEL: define hidden swiftcc void @"$sSa39devirt_witness_method_empty_conformanceAA12PublicStructVRszlE14applyTransformyyF"(%TSa* nocapture swiftself dereferenceable
79+
// CHECK-LABEL: define hidden swiftcc void @"$sSa39devirt_witness_method_empty_conformanceAA12PublicStructVRszlE14applyTransformyyF"(%TSa* nocapture {{.*}}swiftself dereferenceable
8080
// CHECK-NEXT: entry
8181
// CHECK-NEXT: ret void
8282
applyTransform()

test/SILOptimizer/opt_mode.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ func test_ospeed(_ a: A) -> Int {
4747
}
4848

4949

50-
// CHECK-IR: attributes [[SIZE_ATTR]] = { minsize optsize "
51-
// CHECK-IR: attributes [[NOSIZE_ATTR]] = { "
50+
// CHECK-IR-DAG: attributes [[SIZE_ATTR]] = { minsize optsize "
51+
// CHECK-IR-DAG: attributes [[NOSIZE_ATTR]] = { "

0 commit comments

Comments
 (0)