This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Make an argument optional in RFV::getCopyToRegs. NFC.
ClosedPublic

Authored by sanjoy on May 4 2015, 10:43 AM.

Details

Summary

We default the value argument to nullptr. The only use of the value is
in diagnosePossiblyInvalidConstraint and that seems to be resilient to
it being nullptr.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 24894.May 4 2015, 10:43 AM
sanjoy retitled this revision from to [SelectionDAG] Make an argument optional in RFV::getCopyToRegs. NFC..
sanjoy updated this object.
sanjoy edited the test plan for this revision. (Show Details)
sanjoy added reviewers: atrick, reames.
sanjoy added a subscriber: Unknown Object (MLST).
atrick accepted this revision.May 4 2015, 11:58 AM
atrick edited edge metadata.

Makes sense.

This revision is now accepted and ready to land.May 4 2015, 11:58 AM
This revision was automatically updated to reflect the committed changes.