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

Nick Lewycky nicholas at mxc.ca
Wed Sep 2 22:56:48 PDT 2009


Dan Gohman wrote:
> Author: djg
> Date: Wed Sep  2 12:31:42 2009
> New Revision: 80805
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=80805&view=rev
> Log:
> Fix the syntax of add/sub/mul nsw/nuw and sdiv exact.

I nominate this patch for the 2.6 branch.

Nick

> Modified:
>     llvm/trunk/docs/LangRef.html
> 
> Modified: llvm/trunk/docs/LangRef.html
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=80805&r1=80804&r2=80805&view=diff
> 
> ==============================================================================
> --- llvm/trunk/docs/LangRef.html (original)
> +++ llvm/trunk/docs/LangRef.html Wed Sep  2 12:31:42 2009
> @@ -2668,9 +2668,9 @@
>  <h5>Syntax:</h5>
>  <pre>
>    <result> = add <ty> <op1>, <op2>          <i>; yields {ty}:result</i>
> -  <result> = nuw add <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> -  <result> = nsw add <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> -  <result> = nuw nsw add <ty> <op1>, <op2>  <i>; yields {ty}:result</i>
> +  <result> = add nuw <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> +  <result> = add nsw <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> +  <result> = add nuw nsw <ty> <op1>, <op2>  <i>; yields {ty}:result</i>
>  </pre>
>  
>  <h5>Overview:</h5>
> @@ -2742,9 +2742,9 @@
>  <h5>Syntax:</h5>
>  <pre>
>    <result> = sub <ty> <op1>, <op2>          <i>; yields {ty}:result</i>
> -  <result> = nuw sub <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> -  <result> = nsw sub <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> -  <result> = nuw nsw sub <ty> <op1>, <op2>  <i>; yields {ty}:result</i>
> +  <result> = sub nuw <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> +  <result> = sub nsw <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> +  <result> = sub nuw nsw <ty> <op1>, <op2>  <i>; yields {ty}:result</i>
>  </pre>
>  
>  <h5>Overview:</h5>
> @@ -2829,9 +2829,9 @@
>  <h5>Syntax:</h5>
>  <pre>
>    <result> = mul <ty> <op1>, <op2>          <i>; yields {ty}:result</i>
> -  <result> = nuw mul <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> -  <result> = nsw mul <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> -  <result> = nuw nsw mul <ty> <op1>, <op2>  <i>; yields {ty}:result</i>
> +  <result> = mul nuw <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> +  <result> = mul nsw <ty> <op1>, <op2>      <i>; yields {ty}:result</i>
> +  <result> = mul nuw nsw <ty> <op1>, <op2>  <i>; yields {ty}:result</i>
>  </pre>
>  
>  <h5>Overview:</h5>
> @@ -2941,7 +2941,7 @@
>  <h5>Syntax:</h5>
>  <pre>
>    <result> = sdiv <ty> <op1>, <op2>         <i>; yields {ty}:result</i>
> -  <result> = exact sdiv <ty> <op1>, <op2>   <i>; yields {ty}:result</i>
> +  <result> = sdiv exact <ty> <op1>, <op2>   <i>; yields {ty}:result</i>
>  </pre>
>  
>  <h5>Overview:</h5>
> 
> 
> _______________________________________________
> 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