mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
When doing sext/zext of constants, the target type must be strictly
wider than the source type. Correct LangRef. llvm-svn: 108238
This commit is contained in:
parent
2e188667df
commit
710b57b4b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user