[LLVMdev] i64 type in optimizer

Chris Lattner clattner at apple.com
Sat Jan 8 09:36:14 PST 2011


On Jan 8, 2011, at 9:32 AM, drizzle drizzle wrote:

> Hi
>  Is there way to prevent i64 values being generated by the optimizer ?

No.  If you add a list of "native" types to the target data string, then the optimizer will avoid types not in the list though (see LangRef.html).  For example, ARM32 sets "i32" as its own native integer type.  i64 can still be generated, but will be less likely to be formed.

-Chris



More information about the llvm-dev mailing list