summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-09-16 05:48:09 +0000
committerTobias Grosser <tobias@grosser.es>2016-09-16 05:48:09 +0000
commit8f86a4746142f9488dca4d1d57bfc783bb194518 (patch)
tree5d29099babe3762d4f2b010975a52c98f765179e
parentb28c6d495dbf137b094df1f57aa3bcca5b6b66d3 (diff)
downloadbcm5719-llvm-8f86a4746142f9488dca4d1d57bfc783bb194518.tar.gz
bcm5719-llvm-8f86a4746142f9488dca4d1d57bfc783bb194518.zip
Update CFGPrinter -> CFGPrinterLegacyPass
.. to match recent changes in LLVM that broke the Polly compilation. llvm-svn: 281705
-rw-r--r--polly/lib/Support/RegisterPasses.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp
index 1eed95e90de..6eb468e2ae7 100644
--- a/polly/lib/Support/RegisterPasses.cpp
+++ b/polly/lib/Support/RegisterPasses.cpp
@@ -274,7 +274,7 @@ void registerPollyPasses(llvm::legacy::PassManagerBase &PM) {
PM.add(createBarrierNoopPass());
if (CFGPrinter)
- PM.add(llvm::createCFGPrinterPass());
+ PM.add(llvm::createCFGPrinterLegacyPassPass());
if (Target == TARGET_GPU) {
// Invariant load hoisting not yet supported by GPU code generation.
OpenPOWER on IntegriCloud