Update CFGPrinter -> CFGPrinterLegacyPass

.. to match recent changes in LLVM that broke the Polly compilation.

llvm-svn: 281705
This commit is contained in:
Tobias Grosser 2016-09-16 05:48:09 +00:00
parent b28c6d495d
commit 8f86a47461
1 changed files with 1 additions and 1 deletions

View File

@ -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.