Also update MachineORE after r314874.

llvm-svn: 314908
This commit is contained in:
Adam Nemet 2017-10-04 15:18:07 +00:00
parent 9366b9c53b
commit f1bea0a6ab
1 changed files with 2 additions and 4 deletions

View File

@ -65,10 +65,8 @@ void MachineOptimizationRemarkEmitter::emit(
auto *P = &const_cast<DiagnosticInfoOptimizationBase &>(OptDiagCommon);
*Out << P;
}
// FIXME: now that IsVerbose is part of DI, filtering for this will be moved
// from here to clang.
if (!OptDiag.isVerbose() || shouldEmitVerbose())
Ctx.diagnose(OptDiag);
Ctx.diagnose(OptDiag);
}
MachineOptimizationRemarkEmitterPass::MachineOptimizationRemarkEmitterPass()