[llvm] r314908 - Also update MachineORE after r314874.
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 08:18:08 PDT 2017
Author: anemet
Date: Wed Oct 4 08:18:07 2017
New Revision: 314908
URL: http://llvm.org/viewvc/llvm-project?rev=314908&view=rev
Log:
Also update MachineORE after r314874.
Modified:
llvm/trunk/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
Modified: llvm/trunk/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp?rev=314908&r1=314907&r2=314908&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp Wed Oct 4 08:18:07 2017
@@ -65,10 +65,8 @@ void MachineOptimizationRemarkEmitter::e
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()
More information about the llvm-commits
mailing list