This is an archive of the discontinued LLVM Phabricator instance.

Add note to documentation about machine node chains.
ClosedPublic

Authored by arsenm on Jul 28 2014, 1:22 PM.

Details

Reviewers
hfinkel
Summary

I've been assuming chain operands were always the first operand,
since the documentation says this. I was confused about why they
were missing after instruction selection. Apparently the convention
changes to using the last operand for MachineSDNodes and I've never
noticed before.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 11954.Jul 28 2014, 1:22 PM
arsenm retitled this revision from to Add note to documentation about machine node chains. .
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm updated this revision to Diff 12041.Jul 30 2014, 11:55 AM

Note that the chain isn't necessarily the last operand for a machine node, and can still be followed by glue

hfinkel accepted this revision.Sep 2 2014, 9:36 AM
hfinkel added a reviewer: hfinkel.
hfinkel added a subscriber: hfinkel.

LGTM.

docs/CodeGenerator.rst
774

by be -> maybe

This revision is now accepted and ready to land.Sep 2 2014, 9:36 AM
arsenm closed this revision.Sep 2 2014, 12:28 PM

r216934