Displaying 2 results from an estimated 2 matches for "incr3".
Did you mean:
incr
2010 Jun 19
1
[LLVMdev] Is alloca instruction allowed within the cycle?
...e i32 0, i32* %i
br label %for.end
for.body:
%obj = alloca %object
%str = getelementptr inbounds [1 x i8]* @str2, i32 0, i32 0
call void @obj_constr(%object* noalias sret %obj, i8* %str)
call void @obj_destr(%object* %obj)
br label %for.incr
for.incr:
%incr = load i32* %i
%incr3 = add i32 %incr,
store i32 %incr3, i32* %i
br label %for.end
for.end:
%iload = load i32* %i
%xcmp = icmp sge i32 %iload, 100000000
br i1 %xcmp, label %xend, label %for.body
xend:
ret void
}
2009 Aug 30
0
[LLVMdev] Strange error in generated assembly
...> [#uses=1]
%src.length19 = getelementptr %tart.core.String* %get15, i32 0, i32 1 ;
<i32*> [#uses=1]
%length20 = load i32* %src.length19 ; <i32> [#uses=1]
%6 = add i32 %index18, %length20 ; <i32> [#uses=1]
store i32 %6, i32* %index
br label %incr3
And here is the generated assembly:
LBB59_5:
movl %edi, 4(%esp)
movl 48(%esp), %ecx
movl %ecx, (%esp)
call
"_tart.core.Array[tart.core.String]..index.get(int)->tart.core.String"
movl %eax, %ebp
movl 4(%ebp), %eax...