This is an archive of the discontinued LLVM Phabricator instance.

Update TargetLowering API - no longer require TLOF
ClosedPublic

Authored by aditya_nandakumar on Nov 13 2014, 2:49 AM.

Details

Reviewers
echristo
Summary

We can get the TLOF from the TargetMachine - so constructor no longer requires TargetLoweringObjectFile to be passed.
Updated all targets.

Diff Detail

Event Timeline

aditya_nandakumar retitled this revision from to Update TargetLowering API - no longer require TLOF.
aditya_nandakumar updated this object.
aditya_nandakumar edited the test plan for this revision. (Show Details)
aditya_nandakumar added a reviewer: echristo.
aditya_nandakumar added a subscriber: Unknown Object (MLST).
echristo accepted this revision.Nov 13 2014, 12:34 PM
echristo edited edge metadata.

LGTM, Thanks!

(For the record this should probably take a TargetSubtargetInfo and TLOF rather than just a TargetMachine, but that will require more work to pull and tease these things back apart. If you want to do this I can give you a brief rundown on the work, but it's non-trivial so not a blocker here).

-eric

This revision is now accepted and ready to land.Nov 13 2014, 12:34 PM

Thanks Eric.
I wouldn't mind more refactoring - please let me know what you have in mind.