[LLVMdev] signed integer types still in LLVM 2.1

Seung Jae Lee lee225 at uiuc.edu
Tue Feb 5 10:44:15 PST 2008


Hello.

I updated my LLVM with version 2.1 from 1.9.
But I am curious why I still have signed integer type.

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





More information about the llvm-dev mailing list