aboutsummaryrefslogtreecommitdiff
path: root/docs
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
commitae447724e40353ab2d4cf5b2db08761b3341e2e4 (patch)
tree2d7b2fe185d40b5fdf480b7b8281172d7983f9a2 /docs
parent17f687fd5a22905a8e56e1e1d12af8ff3c699576 (diff)
downloadllvm-ae447724e40353ab2d4cf5b2db08761b3341e2e4.tar.gz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/GlobalISel.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/GlobalISel.rst b/docs/GlobalISel.rst
index 52952d014c4..c124911978c 100644
--- a/docs/GlobalISel.rst
+++ b/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.