[LLVMdev] sign and zero extensions question

Artur Pietrek pietreka at gmail.com
Tue May 26 06:21:08 PDT 2009

Hi,Could someone explain to me how the sign/zero extensions in LLVM
work, please? If I understood correctly, the int type in LLVM doesn't keep
the information about signedness of an int. So the question is how can I
know if instructions like Load or Trunc should be signed or not? I guess
that at least ARM backend  produces sign extended load so if someone could
point me to the code where it happens it would be great (I can't figure it
Perhaps I should mention that I'm still working on the MSIL backend.

Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090526/bb7851ac/attachment.html>

More information about the llvm-dev mailing list