This is an archive of the discontinued LLVM Phabricator instance.

[LTO] Add --lto-aa-pipeline
ClosedPublic

Authored by davide on Jun 1 2016, 4:36 PM.

Details

Summary

--lto-newpm-passes has been in the tree in a while. I used it for a bit and I haven't faced any problems, so I decided to add the last missing bit (--lto-aa-pipeline).
The question (probably for Chandler) is: what's the best way to test this?

Diff Detail

Repository
rL LLVM

Event Timeline

davide updated this revision to Diff 59302.Jun 1 2016, 4:36 PM
davide retitled this revision from to [LTO] Add --lto-aa-pipeline .
davide updated this object.
davide added reviewers: rafael, chandlerc.
davide added a subscriber: llvm-commits.
chandlerc edited edge metadata.Jun 1 2016, 4:48 PM

Yes, this is roughly how I expected the API to be used. Are you running into problems with it?

You might want to name it with a newpm prefix much like the other flag, but I'll leave that mostly up to the LLD folks -- I suspect the local conventions are the most important there.

davide added a comment.Jun 1 2016, 4:51 PM

Yes, this is roughly how I expected the API to be used. Are you running into problems with it?

No, not at all.

You might want to name it with a newpm prefix much like the other flag, but I'll leave that mostly up to the LLD folks -- I suspect the local conventions are the most important there.

Sure, thanks for your review.

rafael edited edge metadata.Jun 2 2016, 3:30 PM
rafael added a subscriber: rafael.

LGTM from the lld side.

Cheers,
Rafael

This revision was automatically updated to reflect the committed changes.