diff options
| author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-03-12 20:54:18 +0000 |
|---|---|---|
| committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-03-12 20:54:18 +0000 |
| commit | 1d6c47ad2bb2ed6aef76107fb345fbf4cb024cb4 (patch) | |
| tree | f6a92a25a34cae50f0d0795bdb2a8f4737d5f85d /llvm/lib/LTO/LTOCodeGenerator.cpp | |
| parent | 7e44a8440c55a3592901c3c2290cf25ca5c78619 (diff) | |
| download | bcm5719-llvm-1d6c47ad2bb2ed6aef76107fb345fbf4cb024cb4.tar.gz bcm5719-llvm-1d6c47ad2bb2ed6aef76107fb345fbf4cb024cb4.zip | |
Revert "[Remarks] Add -foptimization-record-passes to filter remark emission"
This reverts commit 20fff32b7d1f1a1bd417b22aa9f26ededd97a3e5.
llvm-svn: 355976
Diffstat (limited to 'llvm/lib/LTO/LTOCodeGenerator.cpp')
| -rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index f02907f7a86..1b1de2ba187 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/lib/LTO/LTOCodeGenerator.cpp @@ -85,12 +85,6 @@ cl::opt<std::string> cl::desc("Output filename for pass remarks"), cl::value_desc("filename")); -cl::opt<std::string> - LTORemarksPasses("lto-pass-remarks-filter", - cl::desc("Only record optimization remarks from passes " - "whose names match the given regular expression"), - cl::value_desc("regex")); - cl::opt<bool> LTOPassRemarksWithHotness( "lto-pass-remarks-with-hotness", cl::desc("With PGO, include profile count in optimization remarks"), @@ -511,7 +505,7 @@ bool LTOCodeGenerator::optimize(bool DisableVerify, bool DisableInline, return false; auto DiagFileOrErr = lto::setupOptimizationRemarks( - Context, LTORemarksFilename, LTORemarksPasses, LTOPassRemarksWithHotness); + Context, LTORemarksFilename, LTOPassRemarksWithHotness); if (!DiagFileOrErr) { errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n"; report_fatal_error("Can't get an output file for the remarks"); |

