Displaying 1 result from an estimated 1 matches for "pn38".
Did you mean:
pn3
2008 Dec 01
2
[LLVMdev] Question in LLVM IR
...=i-2*b;
}else{
x=2*a+b;
y=b-2*i;
}
return(x+y);
}
translates to
%tmp11 = add i32 %a.0, %b.0
%tmp12 = icmp sgt i32 %tmp11, 10
br i1 %tmp12, label %bb15, label %bb32
bb15: ; preds = %entry
%tmp29.pn38 = shl i32 %b.0, 1
%tmp18 = sub i32 %i, %a.0
%y.039 = add i32 %tmp18, %b.0
%tmp3540 = sub i32 %y.039, %tmp29.pn38
ret i32 %tmp3540
bb32: ; preds = %entry
%tmp25 = shl i32 %a.0, 1
%tm...