diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/MachinePassManager.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/MachinePassManager.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/MachinePassManager.cpp b/contrib/llvm-project/llvm/lib/CodeGen/MachinePassManager.cpp index e81575c88935..476dc059d2b5 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/MachinePassManager.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/MachinePassManager.cpp @@ -49,11 +49,6 @@ Error MachineFunctionPassManager::run(Module &M, }); } - if (DebugLogging) { - dbgs() << "Starting " << getTypeName<MachineFunction>() - << " pass manager run.\n"; - } - for (auto &F : InitializationFuncs) { if (auto Err = F(M, MFAM)) return Err; @@ -64,9 +59,6 @@ Error MachineFunctionPassManager::run(Module &M, do { // Run machine module passes for (; MachineModulePasses.count(Idx) && Idx != Size; ++Idx) { - if (DebugLogging) - dbgs() << "Running pass: " << Passes[Idx]->name() << " on " - << M.getName() << '\n'; if (auto Err = MachineModulePasses.at(Idx)(M, MFAM)) return Err; } @@ -110,11 +102,6 @@ Error MachineFunctionPassManager::run(Module &M, return Err; } - if (DebugLogging) { - dbgs() << "Finished " << getTypeName<MachineFunction>() - << " pass manager run.\n"; - } - return Error::success(); } |
