[PATCH] Add note to documentation about machine node chains.
Matt Arsenault
Matthew.Arsenault at amd.com
Wed Jul 30 11:55:55 PDT 2014
Note that the chain isn't necessarily the last operand for a machine node, and can still be followed by glue
http://reviews.llvm.org/D4698
Files:
docs/CodeGenerator.rst
Index: docs/CodeGenerator.rst
===================================================================
--- docs/CodeGenerator.rst
+++ docs/CodeGenerator.rst
@@ -769,7 +769,9 @@
calls, returns, etc). All nodes that have side effects should take a token
chain as input and produce a new one as output. By convention, token chain
inputs are always operand #0, and chain results are always the last value
-produced by an operation.
+produced by an operation. However, after instruction selection, the
+machine nodes have their chain after the instruction's operands, and
+by be followed by glue nodes.
A SelectionDAG has designated "Entry" and "Root" nodes. The Entry node is
always a marker node with an Opcode of ``ISD::EntryToken``. The Root node is
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4698.12041.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140730/7dbf7d7d/attachment.bin>
More information about the llvm-commits
mailing list