forked from OSchip/llvm-project
parent
9366b9c53b
commit
f1bea0a6ab
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue