[llvm] 116c29a - [CallSiteSplitting] Regenerate test checks (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 8 00:24:41 PDT 2022
Author: Nikita Popov
Date: 2022-07-08T09:24:11+02:00
New Revision: 116c29a386d9d2258b9931ec20fc86f612eb2e26
URL: https://github.com/llvm/llvm-project/commit/116c29a386d9d2258b9931ec20fc86f612eb2e26
DIFF: https://github.com/llvm/llvm-project/commit/116c29a386d9d2258b9931ec20fc86f612eb2e26.diff
LOG: [CallSiteSplitting] Regenerate test checks (NFC)
This test requires --function-signature to work with unmodified UTC.
Added:
Modified:
llvm/test/Transforms/CallSiteSplitting/callsite-split-callbr.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/CallSiteSplitting/callsite-split-callbr.ll b/llvm/test/Transforms/CallSiteSplitting/callsite-split-callbr.ll
index 1d69c717bd3f0..5d3df529fa1ac 100644
--- a/llvm/test/Transforms/CallSiteSplitting/callsite-split-callbr.ll
+++ b/llvm/test/Transforms/CallSiteSplitting/callsite-split-callbr.ll
@@ -1,29 +1,29 @@
-; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature
; RUN: opt -callsite-splitting -S -o - < %s | FileCheck %s
; Check that we can split the critical edge between Top and CallSiteBB, and
; rewrite the first callbr's indirect destination correctly.
define void @caller() {
-; CHECK-LABEL: @caller(
+; CHECK-LABEL: define {{[^@]+}}@caller() {
; CHECK-NEXT: Top:
; CHECK-NEXT: callbr void asm sideeffect "", "i,~{dirflag},~{fpsr},~{flags}"(i8* blockaddress(@caller, [[TOP_SPLIT:%.*]]))
; CHECK-NEXT: to label [[NEXTCOND:%.*]] [label %Top.split]
-; CHECK-LABEL: Top.split:
+; CHECK: Top.split:
; CHECK-NEXT: call void @callee(i1 false)
; CHECK-NEXT: br label [[CALLSITEBB:%.*]]
-; CHECK-LABEL: NextCond:
+; CHECK: NextCond:
; CHECK-NEXT: br label [[NEXTCOND_SPLIT:%.*]]
-; CHECK-LABEL: NextCond.split:
+; CHECK: NextCond.split:
; CHECK-NEXT: call void @callee(i1 true)
; CHECK-NEXT: br label [[CALLSITEBB]]
-; CHECK-LABEL: CallSiteBB:
+; CHECK: CallSiteBB:
; CHECK-NEXT: [[PHI:%.*]] = phi i1 [ false, [[TOP_SPLIT]] ], [ true, [[NEXTCOND_SPLIT]] ]
; CHECK-NEXT: callbr void asm sideeffect "", "r,i,~{dirflag},~{fpsr},~{flags}"(i1 [[PHI]], i8* blockaddress(@caller, [[END2:%.*]]))
; CHECK-NEXT: to label [[END:%.*]] [label %End2]
-; CHECK-LABEL: End:
+; CHECK: End:
; CHECK-NEXT: ret void
-; CHECK-LABEL: End2:
+; CHECK: End2:
; CHECK-NEXT: ret void
;
Top:
@@ -46,7 +46,8 @@ End2:
}
define void @callee(i1 %b) {
-; CHECK-LABEL: @callee(
+; CHECK-LABEL: define {{[^@]+}}@callee
+; CHECK-SAME: (i1 [[B:%.*]]) {
; CHECK-NEXT: ret void
;
ret void
More information about the llvm-commits
mailing list