[PATCH] D31653: [Polly][NewPM] Pull references to the legacy PM interface from utilities and helpers

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 02:58:44 PDT 2017


philip.pfaffe created this revision.
philip.pfaffe added a project: Polly.
Herald added a subscriber: nemanjai.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D31653

Files:
  include/polly/CodeGen/IslNodeBuilder.h
  include/polly/CodeGen/LoopGenerators.h
  include/polly/CodeGen/Utils.h
  lib/CodeGen/CodeGeneration.cpp
  lib/CodeGen/IslNodeBuilder.cpp
  lib/CodeGen/LoopGenerators.cpp
  lib/CodeGen/PPCGCodeGeneration.cpp
  lib/CodeGen/Utils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31653.94023.patch
Type: text/x-patch
Size: 9134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170404/4a52ac60/attachment-0001.bin>


More information about the llvm-commits mailing list