Displaying 1 result from an estimated 1 matches for "tmp_15".
Did you mean:
tmp15
2011 Mar 16
5
[LLVMdev] Bug in opt
...%i
%tmp_10 = load i32* %max
%tmp_11 = icmp slt i32 %tmp_9 ,%tmp_10
br i1 %tmp_11 ,label %bodyfor_4,label %endfor_5
bodyfor_4:
%tmp_12 = load i32* %n
%tmp_13 = load i32* %i
%tmp_14 = add i32 %tmp_12 ,%tmp_13
store i32 %tmp_14 ,i32* %n
br label %updatefor_2
endfor_5:
%tmp_15 = getelementptr [6 x i8]* @main.str1, i32 0, i32 0
%tmp_16 = load i32* %n
%tmp_17 = call i32 (i8* , ...)* @printf(i8* %tmp_15 , i32 %tmp_16 )
%tmp_18 = add i32 0,0
ret i32 %tmp_18
}
The C code was as follows:
int printf(const char * format, ...);
int main()
{
int i=0, max=100...