From c87f3dff517608007e299c7d47698259f30c8cd6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 24 May 2007 19:13:27 +0000 Subject: remove contradiction owen noticed llvm-svn: 37327 --- llvm/docs/LangRef.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'llvm/docs/LangRef.html') diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index e220764ac6e..b01d3793076 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/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.

-- cgit v1.2.3