From 8f86a4746142f9488dca4d1d57bfc783bb194518 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Fri, 16 Sep 2016 05:48:09 +0000 Subject: [PATCH] Update CFGPrinter -> CFGPrinterLegacyPass .. to match recent changes in LLVM that broke the Polly compilation. llvm-svn: 281705 --- polly/lib/Support/RegisterPasses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp index 1eed95e..6eb468e 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. -- 2.7.4