Skip to content

Commit 44b578c

Browse files
committed
Fix tests
1 parent 81c8f18 commit 44b578c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

llvm/test/CodeGen/AArch64/swift-dynamic-async-frame.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
; RUN: llc -mtriple arm64-apple-macosx11.9.0 %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
1111
; RUN: llc -mtriple arm64_32-apple-watchos8.0.0 %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
1212
; RUN: llc -mtriple arm64_32-apple-watchos7.9.0 %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
13-
; RUN: llc -mtriple -swift-async-fp=auto arm64_32-apple-watchos7.9.0 %s -o - | FileCheck %s --check-prefix=CHECK-DYNAMIC-32
13+
; RUN: llc -mtriple arm64_32-apple-watchos7.9.0 -swift-async-fp=auto %s -o - | FileCheck %s --check-prefix=CHECK-DYNAMIC-32
1414

1515
; CHECK-STATIC-LABEL: foo:
1616
; CHECK-STATIC: orr x29, x29, #0x1000000000000000

llvm/test/CodeGen/X86/swift-dynamic-async-frame.ll

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22
; RUN: llc -mtriple x86_64-apple-macosx12.0.0 -swift-async-fp=always %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
33
; RUN: llc -mtriple x86_64-apple-macosx12.0.0 -swift-async-fp=auto %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
44
; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=always %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
5-
; RUN: llc -mtriple x86_64-apple-macosx11.9.0 %s -o - | FileCheck %s --check-prefix=CHECK-DYNAMIC
5+
; RUN: llc -mtriple x86_64-apple-macosx11.9.0 %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
66
; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=auto %s -o - | FileCheck %s --check-prefix=CHECK-DYNAMIC
7+
; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=always %s -o - | FileCheck %s --check-prefix=CHECK-STATIC
8+
; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=never %s -o - | FileCheck %s --check-prefix=CHECK-NEVER
79

810
; CHECK-STATIC-LABEL: foo:
911
; CHECK-STATIC: btsq $60, %rbp
1012

1113
; CHECK-DYNAMIC-LABEL: foo:
1214
; CHECK-DYNAMIC: orq _swift_async_extendedFramePointerFlags@GOTPCREL(%rip), %rbp
1315

16+
; CHECK-NEVER-LABEL: foo:
17+
; CHECK-NEVER-NOT: btsq $60, %rbp
18+
; CHECK-NEVER-NOT: _swift_async_extendedFramePointerFlags
19+
1420
define void @foo(i8* swiftasync) "frame-pointer"="all" {
1521
ret void
1622
}

0 commit comments

Comments
 (0)