aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-24 19:13:27 +0000
committerChris Lattner <sabre@nondot.org>2007-05-24 19:13:27 +0000
commitd1d25174cd801d73790ffd1794c37cba613ccdb8 (patch)
tree2b299d30c7dfdaa72bbe0c0a4761e715fd95ab8f
parent7139406707eb3869183fd6a3329fe4a77d309692 (diff)
remove contradiction owen noticed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37327 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/LangRef.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index e220764ac6..b01d379307 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -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>