Page MenuHomePhabricator

Add flags -Rpass-missed and -Rpass-analysis.
ClosedPublic

Authored by dnovillo on May 8 2014, 3:24 PM.

Details

Summary

These two flags are in the same family as -Rpass, but are used in
different situations.

-Rpass-missed is used by optimizers to inform the user when they tried
to apply an optimization but couldn't (or wouldn't).

-Rpass-analysis is used by optimizers to report analysis results back
to the user (e.g., why the transformation could not be applied).

Depends on D3682.

Diff Detail

Repository
rL LLVM

Event Timeline

dnovillo updated this revision to Diff 9232.May 8 2014, 3:24 PM
dnovillo retitled this revision from to Add flags -Rpass-missed and -Rpass-analysis..
dnovillo updated this object.
dnovillo edited the test plan for this revision. (Show Details)
dnovillo added a reviewer: rsmith.
dnovillo added a subscriber: Unknown Object (MLST).

Richard, do you think you'll be able to review this patch this week?

Thanks. Diego.

I am interested in generating Rpass-missed and Rpass-analysis output in the loop vectorizer so I would also like to see this patch go in!

rsmith accepted this revision.May 29 2014, 12:49 PM
rsmith edited edge metadata.

LGTM, really sorry for the delay

lib/CodeGen/CodeGenAction.cpp
225 ↗(On Diff #9232)

Should be "handlers", " handle "

This revision is now accepted and ready to land.May 29 2014, 12:49 PM
dnovillo closed this revision.May 29 2014, 1:02 PM
dnovillo updated this revision to Diff 9928.

Closed by commit rL209839 (authored by @dnovillo).