[llvm] 5897b44 - [HotColdSplit Test] Check that the outlined functions have internal visibility
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 27 06:48:59 PDT 2023
Author: AdityaK
Date: 2023-08-27T06:48:11-07:00
New Revision: 5897b449472e4848c2531e8bdeb6fba4f207f2c6
URL: https://github.com/llvm/llvm-project/commit/5897b449472e4848c2531e8bdeb6fba4f207f2c6
DIFF: https://github.com/llvm/llvm-project/commit/5897b449472e4848c2531e8bdeb6fba4f207f2c6.diff
LOG: [HotColdSplit Test] Check that the outlined functions have internal visibility
Reviewers: vsk, eli.friedman, yassingh
Differential Revision: https://reviews.llvm.org/D158937
Added:
Modified:
llvm/test/Transforms/HotColdSplit/region-overlap.ll
llvm/test/Transforms/HotColdSplit/split-cold-2.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/HotColdSplit/region-overlap.ll b/llvm/test/Transforms/HotColdSplit/region-overlap.ll
index 5009f39d76a43a..8ac108edab2399 100644
--- a/llvm/test/Transforms/HotColdSplit/region-overlap.ll
+++ b/llvm/test/Transforms/HotColdSplit/region-overlap.ll
@@ -52,7 +52,7 @@ define void @_Z3fooii(i32, i32) {
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)
diff --git a/llvm/test/Transforms/HotColdSplit/split-cold-2.ll b/llvm/test/Transforms/HotColdSplit/split-cold-2.ll
index 9d794f8a2cb4df..44dfd6b668a3d8 100644
--- a/llvm/test/Transforms/HotColdSplit/split-cold-2.ll
+++ b/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() {
More information about the llvm-commits
mailing list