[LLVMdev] signedess of operands
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev