1 ; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s
3 ; Checks if movl $1 is sinked to critical edge.
7 define i32 @test(i32 %n, i32 %k) nounwind {
9 %cmp = icmp ugt i32 %k, %n
10 br i1 %cmp, label %ifthen, label %ifend, !prof !1
17 %ret = phi i32 [ 1, %entry ] , [ %y, %ifthen]
21 !1 = !{!"branch_weights", i32 100, i32 1}