summaryrefslogtreecommitdiffstats
path: root/llvm/docs/GlobalISel.rst
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2017-09-25 22:03:06 +0000
committerQuentin Colombet <qcolombet@apple.com>2017-09-25 22:03:06 +0000
commitb7f45eb60960f44259c88d3b266039e009994958 (patch)
tree24d324a404e4cfadeca5935ef9e0bff5376f8e22 /llvm/docs/GlobalISel.rst
parent1d22e943fe0eb2eba8ea6ba6d9b281abd2adca9c (diff)
downloadbcm5719-llvm-b7f45eb60960f44259c88d3b266039e009994958.tar.gz
bcm5719-llvm-b7f45eb60960f44259c88d3b266039e009994958.zip
[GlobalISel] Update the documentation and comment for G_[UN]MERGE_VALUES
In r296921, we added the G_[UN]MERGE_VALUES node, but did not update the documentation. Fixing that. NFC. llvm-svn: 314168
Diffstat (limited to 'llvm/docs/GlobalISel.rst')
-rw-r--r--llvm/docs/GlobalISel.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/GlobalISel.rst b/llvm/docs/GlobalISel.rst
index 52952d014c4..c124911978c 100644
--- a/llvm/docs/GlobalISel.rst
+++ b/llvm/docs/GlobalISel.rst
@@ -304,6 +304,11 @@ As opposed to SelectionDAG, there are no legalization phases. In particular,
Legalization is iterative, and all state is contained in GMIR. To maintain the
validity of the intermediate code, instructions are introduced:
+* ``G_MERGE_VALUES`` --- concatenate multiple registers of the same
+ size into a single wider register.
+
+* ``G_UNMERGE_VALUES`` --- extract multiple registers of the same size
+ from a single wider register.
* ``G_EXTRACT`` --- extract a simple register (as contiguous sequences of bits)
from a single wider register.
OpenPOWER on IntegriCloud