On Tue, 5 Feb 2008, Seung Jae Lee wrote:> I updated my LLVM with version 2.1 from 1.9.
> But I am curious why I still have signed integer type.
Did you update your llvm-gcc?
-Chris
> I still get LLVM IR as follows:
> ......
> ......
> bb8.outer: ; preds = %bb10, %entry
> %i.0.0.ph = phi uint [ 0, %entry ], [ %indvar.next26, %bb10 ] ;
<uint> [#uses=2]
> %sum.0.pn.ph = phi uint [ 0, %entry ], [ %sum.1, %bb10 ] ; <uint>
[#uses=1]
> br label %bb8
>
> bb3: ; preds = %bb8
> %indvar.next = add uint %j.1, 1 ; <uint> [#uses=1]
> br label %bb8
> .....
> .....
>
> When I compared this with that from LLVM 1.9, I found all the
"cast" instructions eliminated in IR from 2.1, so I seem to be on 2.1
side.
> But can't see i32 something like this in IR now.
> (my llvm-gcc is based on gcc 4.0.1)
>
> Am I missing something?
>
> Thank you,
> Seung
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-Chris
--
http://nondot.org/sabre/
http://llvm.org/