[LLVMdev] arithmetical operands signedness (original) (raw)

Jonas Paulsson jnspaulsson at hotmail.com
Mon Sep 5 07:35:37 PDT 2011


Hi,

my target handles operands of multiplying instructions differently based on signedness.

I wonder then how I would do instruction selection based on the operands signs?

The mul instruction sets a nsw for signed, but when i try unsigned ops, there is no wrap flag at all. I'm not sure this is enough information to work with, or?

Jonas

      	   		  

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



More information about the llvm-dev mailing list