Skip to content

Commit c210167

Browse files
committed
[SimplifyCFG] adjust test branchweights; NFC
This will check the boundary conditions of the revised change proposed in D98898.
1 parent 664d0c0 commit c210167

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll

+4-4
Original file line numberDiff line numberDiff line change
@@ -1045,10 +1045,10 @@ exit:
10451045
!12 = !{!"these_are_not_the_branch_weights_you_are_looking_for", i32 3, i32 5}
10461046
!13 = !{!"branch_weights", i32 2, i32 3}
10471047
!14 = !{!"branch_weights", i32 4, i32 7}
1048-
!15 = !{!"branch_weights", i32 2000, i32 1}
1049-
!16 = !{!"branch_weights", i32 1, i32 2000}
1050-
!17 = !{!"branch_weights", i32 1999, i32 1}
1051-
!18 = !{!"branch_weights", i32 1, i32 1999}
1048+
!15 = !{!"branch_weights", i32 99, i32 1}
1049+
!16 = !{!"branch_weights", i32 1, i32 99}
1050+
!17 = !{!"branch_weights", i32 98, i32 1}
1051+
!18 = !{!"branch_weights", i32 1, i32 98}
10521052
!19 = !{!"branch_weights", i32 0, i32 0}
10531053

10541054
; CHECK: !0 = !{!"branch_weights", i32 5, i32 11}

0 commit comments

Comments
 (0)