[llvm-commits] [llvm] r59784 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Chris Lattner clattner at apple.com
Thu Nov 20 20:00:49 PST 2008


On Nov 20, 2008, at 6:24 PM, Bill Wendling wrote:

> Author: void
> Date: Thu Nov 20 20:24:44 2008
> New Revision: 59784
>
> URL: http://llvm.org/viewvc/llvm-project?rev=59784&view=rev
> Log:
> Update comment to reflect a semblance of reality.

Awesome, thanks Bill!

-Chris

>
>
> Modified:
>    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
>
> Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=59784&r1=59783&r2=59784&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
> +++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Thu Nov 20  
> 20:24:44 2008
> @@ -250,13 +250,12 @@
>     // values.
>     ADDE, SUBE,
>
> -    // RESULT, BOOL, OUTCHAIN = [SU]ADDO(INCHAIN, LHS, RHS) -  
> Overflow-aware
> -    // node for arithmetic operations. This node takes two  
> operands: the normal
> -    // lhs and rhs to the add. It produces two results: the normal  
> result of the
> -    // add, and a boolean to indicate if an overflow occured (this  
> isn't a flag,
> -    // because it may be stored to memory, etc.). This node is  
> generated from
> -    // the llvm.sadd.with.overflow intrinsic. It is lowered by  
> target-dependent
> -    // code.
> +    // RESULT, BOOL = [SU]ADDO(LHS, RHS) - Overflow-aware nodes for  
> arithmetic
> +    // operations. These nodes takes two operands: the normal lhs  
> and rhs to the
> +    // add. They produce two results: the normal result of the add,  
> and a
> +    // boolean to indicate if an overflow occured (*not* a flag,  
> because it may
> +    // be stored to memory, etc.). These nodes is generated from the
> +    // llvm.[su]add.with.overflow intrinsics.
>     SADDO, UADDO,
>
>     // Simple binary floating point operators.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list