Skip to content

Commit c7f1cb5

Browse files
committed
[move-function] Make test more generally by removing unneeded line.
Otherwise this is can be sensitive in the face of changes in register names. I also gardened the test case a little to make it look a little nicer. Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D120276 (cherry picked from commit 13681ad)
1 parent f255403 commit c7f1cb5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

llvm/test/Transforms/Coroutines/coro-debug-dbg.addr-swift.ll

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
; CHECK-LABEL: define swifttailcc void @"$s10async_args14withGenericArgyyxnYalF"(%swift.context* swiftasync %0, %swift.opaque* noalias %1, %swift.type* %T){{.*}} {
1111
; CHECK: call void @llvm.dbg.declare(
12-
; CHECK: llvm.dbg.addr
12+
; CHECK: call void @llvm.dbg.addr(
1313
; CHECK-NOT: llvm.dbg.value
1414
; CHECK-NOT: llvm.dbg.addr
1515
; CHECK-NOT: llvm.dbg.declare
@@ -19,17 +19,16 @@
1919

2020
; CHECK-LABEL: define internal swifttailcc void @"$s10async_args14withGenericArgyyxnYalFTY0_"(i8* swiftasync %0)
2121
; CHECK: entryresume.0
22-
; CHECK-NEXT: %.debug
23-
; CHECK-NEXT: call void @llvm.dbg.declare(
24-
; CHECK: llvm.dbg.addr
22+
; CHECK: call void @llvm.dbg.declare(
23+
; CHECK: call void @llvm.dbg.addr(
2524
; CHECK: musttail call swifttailcc void @"$s10async_args10forceSplityyYaF"(%swift.context* swiftasync
2625
; CHECK-NEXT: ret void
2726
; CHECK-NEXT: }
2827

2928
; CHECK: define internal swifttailcc void @"$s10async_args14withGenericArgyyxnYalFTQ1_"(i8* swiftasync %0)
30-
; CHECK: llvm.dbg.declare
31-
; CHECK: llvm.dbg.addr
32-
; CHECK: llvm.dbg.value(metadata %swift.opaque** undef,
29+
; CHECK: call void @llvm.dbg.declare
30+
; CHECK: call void @llvm.dbg.addr
31+
; CHECK: call void @llvm.dbg.value(metadata %swift.opaque** undef,
3332
; CHECK: ret void
3433
; CHECK-NEXT: }
3534

0 commit comments

Comments
 (0)