[LLVMdev] 16 bit to 32 bit conversion

Evan Cheng evan.cheng at apple.com
Mon Feb 2 12:34:22 PST 2009


Are you marking i16 a legal type? In XXISelLowering.cpp, you should  
assign it a register class. e.g. addRegisterClass(MVT::i16,  
XX::i16RegisterClass)

Evan

On Feb 2, 2009, at 12:19 PM, Villmow, Micah wrote:

> It seems that LLVM is converting all the 16 bit ints into 32 bit  
> ints. Is there a way I can tell LLVM that 16 bit ints are valid and  
> legal and not to do any conversions on them?
>
> Thanks,
>
> Micah Villmow
> Systems Engineer
> Advanced Technology & Performance
> Advanced Micro Devices Inc.
> S1-609 One AMD Place
> Sunnyvale, CA. 94085
> P: 408-749-3966
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090202/29c0b7f7/attachment.html>


More information about the llvm-dev mailing list