1 ; RUN: opt < %s -instcombine
3 define i32 @f(i32 %theNumber) {
5 %cmp = icmp sgt i32 %theNumber, -1
6 call void @llvm.assume(i1 %cmp)
7 br i1 true, label %if.then, label %if.end
9 if.then: ; preds = %entry
10 %shl = shl nuw i32 %theNumber, 1
13 if.end: ; preds = %if.then, %entry
14 %phi = phi i32 [ %shl, %if.then ], [ undef, %entry ]
18 declare void @llvm.assume(i1)