Skip to content

Commit 497d39e

Browse files
committed
Fix the undefs in test.
1 parent d1fc65b commit 497d39e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/X86/basic-block-sections-pgo-features.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
;
88
; RUN: llc < %s -O0 -mtriple=x86_64-pc-linux -function-sections -basic-block-sections=%t -basic-block-address-map -pgo-analysis-map=all -pgo-analysis-map-use-propeller-cfg | FileCheck %s
99

10-
define void @foo() nounwind !prof !0 {
10+
define void @foo(i1 %cond) nounwind !prof !0 {
1111
entry:
1212
br label %bb1
1313

1414
bb1:
15-
br i1 undef, label %bb2, label %bb3, !prof !1
15+
br i1 %cond, label %bb2, label %bb3, !prof !1
1616

1717
bb2:
1818
br label %bb3
@@ -54,9 +54,9 @@ bb3:
5454
; CHECK-NEXT: .ascii "\350\007" # basic block frequency
5555
; CHECK-NEXT: .byte 0 # basic block successor count
5656

57-
define void @bar() nounwind !prof !2 {
57+
define void @bar(i1 %cond) nounwind !prof !2 {
5858
entry:
59-
br i1 undef, label %bb1, label %bb2, !prof !3
59+
br i1 %cond, label %bb1, label %bb2, !prof !3
6060

6161
bb1:
6262
ret void

0 commit comments

Comments
 (0)