[llvm] 995ee57 - [HotColdSplit] Avoid branch on undef UB in test (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 3 05:07:23 PST 2023
Author: Nikita Popov
Date: 2023-01-03T14:07:07+01:00
New Revision: 995ee57ea7fc035b865a61cb2310c143a21c886b
URL: https://github.com/llvm/llvm-project/commit/995ee57ea7fc035b865a61cb2310c143a21c886b
DIFF: https://github.com/llvm/llvm-project/commit/995ee57ea7fc035b865a61cb2310c143a21c886b.diff
LOG: [HotColdSplit] Avoid branch on undef UB in test (NFC)
Added:
Modified:
llvm/test/Transforms/HotColdSplit/coldentrycount.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/HotColdSplit/coldentrycount.ll b/llvm/test/Transforms/HotColdSplit/coldentrycount.ll
index 1b39a7507c8cb..fbd0e4d4385da 100644
--- a/llvm/test/Transforms/HotColdSplit/coldentrycount.ll
+++ b/llvm/test/Transforms/HotColdSplit/coldentrycount.ll
@@ -10,9 +10,9 @@ target triple = "x86_64-apple-macosx10.14.0"
; CHECK: define {{.*}} @fun{{.*}} ![[HOTPROF:[0-9]+]] {{.*}}section_prefix ![[LIKELY:[0-9]+]]
; CHECK: call void @fun.cold.1
-define void @fun() !prof !14 {
+define void @fun(i1 %c) !prof !14 {
entry:
- br i1 undef, label %if.then, label %if.else
+ br i1 %c, label %if.then, label %if.else
if.then:
ret void
More information about the llvm-commits
mailing list