Skip to content

Commit 39f7ca2

Browse files
authored
Merge pull request #68552 from compnerd/test-expectations
test: adjust test for ce6ae0b2a26b1ec2f770b2b9474cc4486d60c586
2 parents 5dd609a + ec3e0ea commit 39f7ca2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/IRGen/c_globals.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public func testCaptureGlobal() {
3838

3939
// CHECK-x86_64-SYSV-DAG: attributes [[CLANG_FUNC_ATTR]] = { noinline nounwind {{.*}}"frame-pointer"="all"{{.*}}
4040
// CHECK-x86_64-SYSV-DAG: attributes [[SWIFT_FUNC_ATTR]] = { {{.*}}"frame-pointer"="all" {{.*}}"target-cpu"
41-
// CHECK-x86_64-WIN-DAG: attributes [[CLANG_FUNC_ATTR]] = { noinline nounwind {{.*}}"frame-pointer"="none"{{.*}}
42-
// CHECK-x86_64-WIN-DAG: attributes [[SWIFT_FUNC_ATTR]] = { {{.*}}"frame-pointer"="none" {{.*}}"target-cpu"
41+
// CHECK-x86_64-WIN-DAG: attributes [[CLANG_FUNC_ATTR]] = { noinline nounwind {{.*}}
42+
// CHECK-x86_64-WIN-DAG: attributes [[SWIFT_FUNC_ATTR]] = { {{.*}}"target-cpu"
4343

4444
// CHECK-armv7-SYSV-DAG: attributes [[CLANG_FUNC_ATTR]] = { noinline nounwind {{.*}}"frame-pointer"="all"{{.*}}
4545
// CHECK-armv7-SYSV-DAG: attributes [[SWIFT_FUNC_ATTR]] = { {{.*}}"frame-pointer"="all" {{.*}}"target-cpu"

test/IRGen/framepointer.sil

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ entry(%i : $Int32):
3434
// CHECK: }
3535

3636
// CHECK-SYSV: attributes [[ATTR]] = { {{.*}}"frame-pointer"="all"
37-
// CHECK-WIN: attributes [[ATTR]] = { {{.*}}"frame-pointer"="none"
37+
// CHECK-WIN: attributes [[ATTR]] = { {{.*}}
3838

3939
// CHECK-ALL: define{{.*}} swiftcc i32 @leaf_function_no_frame_pointer(i32 %0) [[ATTR:#.*]] {
4040
// CHECK-ALL: entry:
@@ -48,7 +48,7 @@ entry(%i : $Int32):
4848
// CHECK-ALL: }
4949

5050
// CHECK-SYSV-ALL: attributes [[ATTR]] = {{{.*}}"frame-pointer"="all"
51-
// CHECK-WIN-ALL: attributes [[ATTR]] = {{{.*}}"frame-pointer"="none"
51+
// CHECK-WIN-ALL: attributes [[ATTR]] = {{{.*}}
5252

5353
// LEAF: define{{.*}} swiftcc i32 @leaf_function_no_frame_pointer(i32 %0) [[ATTR:#.*]] {
5454
// LEAF: entry:
@@ -62,7 +62,7 @@ entry(%i : $Int32):
6262
// LEAF: }
6363

6464
// LEAF-SYSV: attributes [[ATTR]] = {{{.*}}"frame-pointer"="non-leaf"
65-
// LEAF-WIN: attributes [[ATTR]] = {{{.*}}"frame-pointer"="none"
65+
// LEAF-WIN: attributes [[ATTR]] = {{{.*}}
6666

6767
// NOFP: define{{.*}} swiftcc i32 @leaf_function_no_frame_pointer(i32 %0) [[ATTR:#.*]] {
6868
// NOFP: entry:
@@ -76,7 +76,7 @@ entry(%i : $Int32):
7676
// NOFP: }
7777

7878
// The clang frontend's -fomit-frame-pointer no longer leads to frame-pointer=none
79-
// attributes [[ATTR]] = {{{.*}}"frame-pointer"="none"
79+
// attributes [[ATTR]] = {{{.*}}
8080

8181
// Silence other os-archs.
8282
// CHECKASM: {{.*}}

0 commit comments

Comments
 (0)