[llvm-commits] [llvm] r76495 - /llvm/trunk/docs/LangRef.html

Duncan Sands baldrick at free.fr
Wed Jul 22 01:23:30 PDT 2009


Chris Lattner wrote:
> On Jul 20, 2009, at 3:41 PM, Dan Gohman wrote:
> 
>> Author: djg
>> Date: Mon Jul 20 17:41:19 2009
>> New Revision: 76495
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=76495&view=rev
>> Log:
>> Documentation for the new non-overflow and exact keywords.
> 
> Dan, is "signed add" really the best mnemonic for this?  This doesn't  
> imply "undefined on overflow" to me at all.  What about something like:
> 
>   %X = add undef_s i32 %A, %B
> 
> or something like that?  CAn you really have "%X = add signed unsigned  
> i32 %A, %B"?

how about no_s_overflow?  The problem with undef_s is that it doesn't
give much of a clue to why you are getting undef.

Ciao,

Duncan.



More information about the llvm-commits mailing list