projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304838e
)
[HotColdSplit] Avoid branch on undef UB in test (NFC)
author
Nikita Popov
<npopov@redhat.com>
Tue, 3 Jan 2023 13:07:07 +0000
(14:07 +0100)
committer
Nikita Popov
<npopov@redhat.com>
Tue, 3 Jan 2023 13:07:07 +0000
(14:07 +0100)
llvm/test/Transforms/HotColdSplit/coldentrycount.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/HotColdSplit/coldentrycount.ll
b/llvm/test/Transforms/HotColdSplit/coldentrycount.ll
index
1b39a75
..
fbd0e4d
100644
(file)
--- 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