[PATCH] D14333: [Polly] Cleanup IR after CodeGeneration (WIP)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 08:07:39 PST 2015
Meinersbur created this revision.
Meinersbur added reviewers: jdoerfert, grosser.
Meinersbur added subscribers: llvm-commits, pollydev.
Meinersbur added a project: Polly.
Re-run canonicalization passes after Polly's code generation.
The set of passes currently added here are nearly all the passes between --polly-position=early and --polly-position=before-vectorizer, i.e. all passes that would usually run after Polly.
There is no support by the (legacy) PassManager to run passes only under some conditions. One could have wrapped all transformation passes to run only when CodeGeneration changed the code, but the analyses would run anyway. The patch creates an independent pass manager. The disadvantages are that all analyses have to re-run even if preserved and it does not honor compiler switches like the PassManagerBuilder does.
http://reviews.llvm.org/D14333
Files:
include/polly/CodeGen/CodegenCleanup.h
lib/CMakeLists.txt
lib/CodeGen/CodeGeneration.cpp
lib/CodeGen/CodegenCleanup.cpp
lib/Support/RegisterPasses.cpp
test/ScopInfo/new-domain-construction-schedule-not-freed.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14333.39206.patch
Type: text/x-patch
Size: 9486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151104/59b1be39/attachment.bin>
More information about the llvm-commits
mailing list