[LLVMdev] Define Integer to be of 2 Bytes for a Target

Shashidhar shashidhar at rrlogic.co.in
Tue Apr 30 05:00:10 PDT 2013


Hi,

     Is there a way to specify the Integer type to be of 2Byte for a 
Target? LLVM IR produces 4Bytes(i32) for Integer type. Clang can be 
tweaked to make the integer to be of 2Byte(i16), but is there a way to 
specify in the LLVM CodeGen?

-- 
Thanks and Regards,
Shashidhar




More information about the llvm-dev mailing list