This is an archive of the discontinued LLVM Phabricator instance.

[DAG] Prevent NodeId pruning of TokenFactors in Instruction Selection.
ClosedPublic

Authored by niravd on Jan 30 2018, 12:09 PM.

Details

Summary

Instruction Selection preserves relative orders of all nodes save
TokenFactors which we treat specially. As a result Node Ids for
TokenFactors may violate the topological ordering and should not be
considered as valid pruning candidates in predecessor search.

Fixes PR35316.

Diff Detail

Event Timeline

niravd created this revision.Jan 30 2018, 12:09 PM
RKSimon accepted this revision.Jan 30 2018, 12:59 PM

LGTM - thanks!

This revision is now accepted and ready to land.Jan 30 2018, 12:59 PM
This revision was automatically updated to reflect the committed changes.