[LLVMdev] signedess of operands

Jonas Paulsson jnspaulsson at hotmail.com
Wed Apr 13 08:54:32 CDT 2011


Hi,
 
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
 
Jonas
  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20110413/5716ebaf/attachment.html 


More information about the LLVMdev mailing list