1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | FileCheck %s
2 ; RUN: llc < %s -fast-isel -fast-isel-abort=1 -mtriple=x86_64-apple-darwin10 | FileCheck %s
4 ; Test if the BBs are reordred according to their branch weights.
5 define i64 @branch_weights_test(i64 %a, i64 %b) {
6 ; CHECK-LABEL: branch_weights_test
9 %1 = icmp ult i64 %a, %b
10 br i1 %1, label %fail, label %success, !prof !0
19 !0 = !{!"branch_weights", i32 0, i32 2147483647}