This is an archive of the discontinued LLVM Phabricator instance.

[Polly][NewPM] Pull references to the legacy PM interface from utilities and helpers
ClosedPublic

Authored by philip.pfaffe on Apr 4 2017, 2:58 AM.

Details

Summary

A couple of the utilities used to analyze or build IR make explicit use of the legacy PM on their interface, to access analysis results. This patch removes the legacy PM from the interface, and just passes the required results directly.

This shouldn't introduce any function changes, although the API technically allowed to obtain two different analysis results before, one passed by reference and one through the PM. I don't believe that was ever intended, however.

Diff Detail

Repository
rL LLVM

Event Timeline

philip.pfaffe created this revision.Apr 4 2017, 2:58 AM
grosser accepted this revision.Apr 4 2017, 3:01 AM

This is a great cleanup! Very nice! Please commit!

This revision is now accepted and ready to land.Apr 4 2017, 3:01 AM
This revision was automatically updated to reflect the committed changes.