From 13681ad6540f949e48230c5fb295ee9603c6be69 Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Mon, 21 Feb 2022 12:07:31 -0800 Subject: [PATCH] [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 --- .../Coroutines/coro-debug-dbg.addr-swift.ll | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/llvm/test/Transforms/Coroutines/coro-debug-dbg.addr-swift.ll b/llvm/test/Transforms/Coroutines/coro-debug-dbg.addr-swift.ll index 38d50696f417..23b38e138c13 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-dbg.addr-swift.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-dbg.addr-swift.ll @@ -9,7 +9,7 @@ ; CHECK-LABEL: define swifttailcc void @"$s10async_args14withGenericArgyyxnYalF"(%swift.context* swiftasync %0, %swift.opaque* noalias %1, %swift.type* %T){{.*}} { ; CHECK: call void @llvm.dbg.declare( -; CHECK: llvm.dbg.addr +; CHECK: call void @llvm.dbg.addr( ; CHECK-NOT: llvm.dbg.value ; CHECK-NOT: llvm.dbg.addr ; CHECK-NOT: llvm.dbg.declare @@ -19,17 +19,16 @@ ; CHECK-LABEL: define internal swifttailcc void @"$s10async_args14withGenericArgyyxnYalFTY0_"(i8* swiftasync %0) ; CHECK: entryresume.0 -; CHECK-NEXT: %.debug -; CHECK-NEXT: call void @llvm.dbg.declare( -; CHECK: llvm.dbg.addr +; CHECK: call void @llvm.dbg.declare( +; CHECK: call void @llvm.dbg.addr( ; CHECK: musttail call swifttailcc void @"$s10async_args10forceSplityyYaF"(%swift.context* swiftasync ; CHECK-NEXT: ret void ; CHECK-NEXT: } ; CHECK: define internal swifttailcc void @"$s10async_args14withGenericArgyyxnYalFTQ1_"(i8* swiftasync %0) -; CHECK: llvm.dbg.declare -; CHECK: llvm.dbg.addr -; CHECK: llvm.dbg.value(metadata %swift.opaque** undef, +; CHECK: call void @llvm.dbg.declare +; CHECK: call void @llvm.dbg.addr +; CHECK: call void @llvm.dbg.value(metadata %swift.opaque** undef, ; CHECK: ret void ; CHECK-NEXT: }