Displaying 2 results from an estimated 2 matches for "other_block".
2011 Mar 15
2
[LLVMdev] Kinda noob questions
...it's
written in Java (it generates a .ll file as output) and it's just for fun by
now, maybe a serious project after I learn all the stuff needed...
and sorry bad english
1) I want to know if when I do this kind of thing:
entry:
%x = alloca i32
%y = alloca i32
... normal instructions...
other_block:
%z = alloca i32
....
br .... label %other_block
the stack "grows" when alloca is "called", or its the same as putting "%z =
alloca" in the beggining?
or... if alloca is in a loop, the stack grows every time it iterates??
2) does the LLVM optimizes this:
; this co...
2011 Mar 15
0
[LLVMdev] Kinda noob questions
...t) and it's
> just for fun by now, maybe a serious project after I learn all the
> stuff needed...
>
> and sorry bad english
>
> 1) I want to know if when I do this kind of thing:
>
> entry:
> %x = alloca i32
> %y = alloca i32
> ... normal instructions...
> other_block:
> %z = alloca i32
> ....
> br .... label %other_block
>
> the stack "grows" when alloca is "called", or its the same as putting
> "%z = alloca" in the beggining?
> or... if alloca is in a loop, the stack grows every time it iterates??
Yes, you c...