[LLVMdev] signedess of operands

Jonas Paulsson jnspaulsson at hotmail.com
Wed Apr 13 06:54:32 PDT 2011

As my target supports signed / unsigned interpretation of operands, I was a bit startled to find that the LLVM I/R does not express this info of the integer operands. I want to create an eg unsigned mul if the operands are unsigned, using an intrinsic.
I find that with -g, metadata is generated which seems to convey this information. Is it safe to base this type of transformation on the metadata? 
If not, what are the options?
thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110413/5716ebaf/attachment.html>

More information about the llvm-dev mailing list