remove contradiction owen noticed
authorChris Lattner <sabre@nondot.org>
Thu, 24 May 2007 19:13:27 +0000 (19:13 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 24 May 2007 19:13:27 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37327 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index e220764ac6e0711de16be312a54f6eb782535388..b01d3793076ff98fee9b2f0e0405b8c9b76052ff 100644 (file)
@@ -2909,10 +2909,7 @@ also be of <a href="#t_integer">integer</a> type. The bit size of the
 
 <h5>Semantics:</h5>
 <p>The <tt>zext</tt> fills the high order bits of the <tt>value</tt> with zero
-bits until it reaches the size of the destination type, <tt>ty2</tt>. When the
-the operand and the type are the same size, no bit filling is done and the 
-cast is considered a <i>no-op cast</i> because no bits change (only the type 
-changes).</p>
+bits until it reaches the size of the destination type, <tt>ty2</tt>.</p>
 
 <p>When zero extending from i1, the result will always be either 0 or 1.</p>
 
@@ -2949,9 +2946,7 @@ also be of <a href="#t_integer">integer</a> type.  The bit size of the
 <p>
 The '<tt>sext</tt>' instruction performs a sign extension by copying the sign
 bit (highest order bit) of the <tt>value</tt> until it reaches the bit size of
-the type <tt>ty2</tt>.  When the the operand and the type are the same size, 
-no bit filling is done and the cast is considered a <i>no-op cast</i> because 
-no bits change (only the type changes).</p>
+the type <tt>ty2</tt>.</p>
 
 <p>When sign extending from i1, the extension always results in -1 or 0.</p>