Skip to content

Commit

Permalink
[HotColdSplit] Avoid branch on undef UB in test (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jan 3, 2023
1 parent 304838e commit 995ee57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/test/Transforms/HotColdSplit/coldentrycount.ll
Expand Up @@ -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
Expand Down

0 comments on commit 995ee57

Please sign in to comment.