[LLVMdev] Promoting i1,i8,i16

Villmow, Micah Micah.Villmow at amd.com
Tue Feb 3 11:31:54 PST 2009


I want to promote i1 to i32 and not i16 as i32 is my native type and i16
is emulated, but I need to handle i16 as a special case so I don't want
to promote it.

I will see if what Bill pointed out is what I need.

Micah

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Eli Friedman
Sent: Tuesday, February 03, 2009 11:08 AM
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Promoting i1,i8,i16

On Tue, Feb 3, 2009 at 10:23 AM, Villmow, Micah <Micah.Villmow at amd.com>
wrote:
> Is there a way to force llvm to promote all smaller types to i32
instead of
> i16?

It should just work if i16 is also set to promote... what are you trying
to do?

-Eli
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev






More information about the llvm-dev mailing list