Displaying 2 results from an estimated 2 matches for "std_lang__rest".
2011 Mar 11
2
[LLVMdev] Unnamed temporaries
Hi,
I hope this is the right place to ask it, sorry if I'm wrong...
My compiler is generating this code:
(line numbers included) (Please ignore the extra br label %b0 and the whole
b0)
...
54 define i32 @std_lang__rest() {
55 entry:
56 %ret = alloca i32 ; <i32*> int*
57 %0 = icmp eq i32 4, 5 ; <i1> boolean
58 br i1 %0, label %b0_t, label %b0_f
59 b0_t:
60 %1 = add i32 5, 2 ; <i32> int
61...
2011 Mar 11
0
[LLVMdev] Unnamed temporaries
...though the IRC channel would have been good too.
> My compiler is generating this code:
>
> (line numbers included) (Please ignore the extra br label %b0 and the whole
> b0)
Sorry, but the extra branches can't be ignored since they are exactly
your problem.
> 54 define i32 @std_lang__rest() {
> 55 entry:
> 56 %ret = alloca i32 ; <i32*> int*
>
> 57 %0 = icmp eq i32 4, 5 ; <i1> boolean
>
> 58 br i1 %0, label %b0_t, label %b0_f
>
> 59 b0_t:
> 60 %1 = add i32 5, 2...