[PATCH] D158937: [Test] Check that the outlined functions have internal visibility
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 27 06:49:06 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5897b449472e: [HotColdSplit Test] Check that the outlined functions have internal visibility (authored by AdityaK <1894981+hiraditya at users.noreply.github.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158937/new/
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.553789.patch
Type: text/x-patch
Size: 978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230827/86ff2513/attachment.bin>
More information about the llvm-commits
mailing list