This is an archive of the discontinued LLVM Phabricator instance.

bpf: Use the getSubtarget call off of the MachineFunction rather than the TargetMachine
ClosedPublic

Authored by ast on Feb 2 2015, 1:05 PM.

Details

Summary

Hi Eric,

this patch cleans up the layering violation that you're fixing across backends.
Anything else I need to fix on bpf backend side?

Thanks

Diff Detail

Repository
rL LLVM

Event Timeline

ast updated this revision to Diff 19183.Feb 2 2015, 1:05 PM
ast retitled this revision from to bpf: Use the getSubtarget call off of the MachineFunction rather than the TargetMachine.
ast updated this object.
ast edited the test plan for this revision. (Show Details)
ast added a reviewer: echristo.
ast set the repository for this revision to rL LLVM.
echristo accepted this revision.Feb 2 2015, 1:19 PM
echristo edited edge metadata.

Thanks! I don't see anything else on a quick glance through the backend.

-eric

This revision is now accepted and ready to land.Feb 2 2015, 1:19 PM
This revision was automatically updated to reflect the committed changes.