This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Move RegsForValue into SelectionDAGBuilder.h. NFC.
ClosedPublic

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

Details

Summary

The exported class will be used in later change, in
StatepointLowering.cpp. It is still internal to SelectionDAG (not
exported via include/).

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 24893.May 4 2015, 10:42 AM
sanjoy retitled this revision from to [SelectionDAG] Move RegsForValue into SelectionDAGBuilder.h. NFC..
sanjoy updated this object.
sanjoy edited the test plan for this revision. (Show Details)
sanjoy added reviewers: reames, atrick.
sanjoy added a subscriber: Unknown Object (MLST).
atrick accepted this revision.May 4 2015, 11:53 AM
atrick edited edge metadata.

LGTM with one comment...

I'm guessing there isn't a good reason for the constructor to be defined inline:
RegsForValue(LLVMContext &Context, const TargetLowering &tli,

unsigned Reg, Type *Ty) {}
This revision is now accepted and ready to land.May 4 2015, 11:53 AM
This revision was automatically updated to reflect the committed changes.