1 ; RUN: opt -mtriple=x86_64-unknown-unknown -codegenprepare -S < %s 2>&1 | FileCheck %s
3 ; Function Attrs: norecurse nounwind readnone uwtable
4 define i32 @foo(i32, i32, i32) {
7 %6 = select i1 %5, i32 %1, i32 %2, !prof !1
8 ; CHECK: br {{.*}}label{{.*}}, label{{.*}}, !prof ![[WT:.*]]
14 !0 = !{!"clang version 4.0.0 (trunk 279683)"}
15 !1 = !{!"branch_weights", i32 1000, i32 1 }
16 ; CHECK: ![[WT]] = !{!"branch_weights", i32 1000, i32 1}