From d1d25174cd801d73790ffd1794c37cba613ccdb8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 24 May 2007 19:13:27 +0000 Subject: [PATCH] remove contradiction owen noticed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37327 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index e220764ac6e..b01d3793076 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2909,10 +2909,7 @@ also be of integer type. The bit size of the
Semantics:

The zext fills the high order bits of the value with zero -bits until it reaches the size of the destination type, ty2. When the -the operand and the type are the same size, no bit filling is done and the -cast is considered a no-op cast because no bits change (only the type -changes).

+bits until it reaches the size of the destination type, ty2.

When zero extending from i1, the result will always be either 0 or 1.

@@ -2949,9 +2946,7 @@ also be of integer type. The bit size of the

The 'sext' instruction performs a sign extension by copying the sign bit (highest order bit) of the value until it reaches the bit size of -the type ty2. When the the operand and the type are the same size, -no bit filling is done and the cast is considered a no-op cast because -no bits change (only the type changes).

+the type ty2.

When sign extending from i1, the extension always results in -1 or 0.

-- 2.34.1