Metadefs for integer reduce and extend operations.

Naming is interesting here. Since 'truncate' refers to removing the least
significant digits, use 'ireduce' instead. The 'extend' use is fairly
established. Don't abbreviate, avoid unfortunate modern vernacular.
This commit is contained in:
Jakob Stoklund Olesen
2016-07-07 18:12:01 -07:00
parent ce7524d68f
commit 6321fd1f5f
2 changed files with 50 additions and 3 deletions

View File

@@ -818,9 +818,9 @@ Conversion operations
---------------------
.. autoinst:: bitcast
.. inst:: a = itrunc x
.. inst:: a = uext x
.. inst:: a = sext x
.. autoinst:: ireduce
.. autoinst:: uextend
.. autoinst:: sextend
.. inst:: a = ftrunc x
.. inst:: a = fext x
.. inst:: a = cvt_ftou x