brintos

brintos / llvm-project-archived public Read only

0
0
Text · 513 B · e890084 Raw
17 lines · plain
1; RUN: opt -mtriple=x86_64-unknown-unknown -codegenprepare -S < %s 2>&1 | FileCheck %s2 3; Function Attrs: norecurse nounwind readnone uwtable4define i32 @foo(i32, i32, i32) {5  %4 = and i32 %0, 36  %5 = icmp eq i32 %4, 17  %6 = select i1 %5, i32 %1, i32 %2, !prof  !18; CHECK: br {{.*}}label{{.*}}, label{{.*}}, !prof ![[WT:.*]]9  ret i32 %610}11 12!llvm.ident = !{!0}13 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}17