Skip to content

Commit 9c7a795

Browse files
committed
forgot to run update_test_checks.py
1 parent dc8352a commit 9c7a795

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/test/Transforms/InstCombine/select-and-cmp.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ define i32 @select_and_icmp_pred_bad_1(i32 %x, i32 %y, i32 %z) !prof !0 {
128128
define i32 @select_and_icmp_pred_bad_2(i32 %x, i32 %y, i32 %z) !prof !0 {
129129
; CHECK-LABEL: @select_and_icmp_pred_bad_2(
130130
; CHECK-NEXT: [[B:%.*]] = icmp eq i32 [[Y:%.*]], [[Z:%.*]]
131-
; CHECK-NEXT: [[D:%.*]] = select i1 [[B]], i32 [[Z]], i32 [[X:%.*]]
131+
; CHECK-NEXT: [[D:%.*]] = select i1 [[B]], i32 [[Z]], i32 [[X:%.*]], !prof [[PROF1:![0-9]+]]
132132
; CHECK-NEXT: ret i32 [[D]]
133133
;
134134
%A = icmp ne i32 %x, %z
@@ -328,4 +328,5 @@ define i32 @select_and_icmp_alt_bad_false_val(i32 %x, i32 %y, i32 %z, i32 %k) {
328328

329329
;.
330330
; CHECK: [[META0:![0-9]+]] = !{!"function_entry_count", i64 1000}
331+
; CHECK: [[PROF1]] = !{!"branch_weights", i32 2, i32 3}
331332
;.

0 commit comments

Comments
 (0)