diff options
author | Duncan Sands <baldrick@free.fr> | 2010-07-13 12:06:14 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-07-13 12:06:14 +0000 |
commit | 28afd4306aa09516ae3396a42513a5c44f30661a (patch) | |
tree | 244a363bdfa95e469775968eaaad17859c84fe32 /docs | |
parent | a838bae1863b463c07056c086ab7c23faa9759e7 (diff) | |
download | llvm-28afd4306aa09516ae3396a42513a5c44f30661a.tar.gz llvm-28afd4306aa09516ae3396a42513a5c44f30661a.tar.bz2 llvm-28afd4306aa09516ae3396a42513a5c44f30661a.tar.xz |
When doing sext/zext of constants, the target type must be strictly
wider than the source type. Correct LangRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index dbcd3556a4..80bf1c8b34 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2513,13 +2513,11 @@ end: <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 |