[llvm-commits] [llvm] r108238 - /llvm/trunk/docs/LangRef.html
Duncan Sands
baldrick at free.fr
Tue Jul 13 05:06:15 PDT 2010
Author: baldrick
Date: Tue Jul 13 07:06:14 2010
New Revision: 108238
URL: http://llvm.org/viewvc/llvm-project?rev=108238&view=rev
Log:
When doing sext/zext of constants, the target type must be strictly
wider than the source type. Correct LangRef.
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=108238&r1=108237&r2=108238&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Tue Jul 13 07:06:14 2010
@@ -2513,13 +2513,11 @@
<dt><b><tt>zext (CST to TYPE)</tt></b></dt>
<dd>Zero extend a constant to another type. The bit size of CST must be
- smaller or equal to the bit size of TYPE. Both types must be
- integers.</dd>
+ smaller than the bit size of TYPE. Both types must be integers.</dd>
<dt><b><tt>sext (CST to TYPE)</tt></b></dt>
<dd>Sign extend a constant to another type. The bit size of CST must be
- smaller or equal to the bit size of TYPE. Both types must be
- integers.</dd>
+ smaller than the bit size of TYPE. Both types must be integers.</dd>
<dt><b><tt>fptrunc (CST to TYPE)</tt></b></dt>
<dd>Truncate a floating point constant to another floating point type. The
More information about the llvm-commits
mailing list