[PATCH] D158937: [Test] Check that the outlined functions have internal visibility
Aditya Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 26 09:37:59 PDT 2023
hiraditya created this revision.
hiraditya added reviewers: vsk, eli.friedman.
Herald added a project: All.
hiraditya requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
NFC
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158937
Files:
llvm/test/Transforms/HotColdSplit/region-overlap.ll
llvm/test/Transforms/HotColdSplit/split-cold-2.ll
Index: llvm/test/Transforms/HotColdSplit/split-cold-2.ll
===================================================================
--- llvm/test/Transforms/HotColdSplit/split-cold-2.ll
+++ llvm/test/Transforms/HotColdSplit/split-cold-2.ll
@@ -8,7 +8,7 @@
; CHECK: codeRepl:
; CHECK-NEXT: call void @fun.cold.1
-; CHECK: define {{.*}}@fun.cold.1{{.*}} [[cold_attr:#[0-9]+]]
+; CHECK: define internal {{.*}}@fun.cold.1{{.*}} [[cold_attr:#[0-9]+]]
; CHECK: attributes [[cold_attr]] = { {{.*}}noreturn
define void @fun() {
Index: llvm/test/Transforms/HotColdSplit/region-overlap.ll
===================================================================
--- llvm/test/Transforms/HotColdSplit/region-overlap.ll
+++ llvm/test/Transforms/HotColdSplit/region-overlap.ll
@@ -52,7 +52,7 @@
ret void
}
-; CHECK-LABEL: define {{.*}}@_Z3fooii.cold.1
+; CHECK-LABEL: define internal {{.*}}@_Z3fooii.cold.1
; CHECK: call void @_Z10sideeffecti(i32 0)
declare void @_Z10sideeffecti(i32)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158937.553741.patch
Type: text/x-patch
Size: 978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230826/69ac0e60/attachment.bin>
More information about the llvm-commits
mailing list