[LLVMdev] Promoting i1,i8,i16

Duncan Sands baldrick at free.fr
Tue Feb 3 23:51:40 PST 2009


Hi,

> 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.

you could make i16 an illegal type and custom lower nodes using i16.

Ciao,

Duncan.



More information about the llvm-dev mailing list