summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llc
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-12 20:54:18 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-12 20:54:18 +0000
commit1d6c47ad2bb2ed6aef76107fb345fbf4cb024cb4 (patch)
treef6a92a25a34cae50f0d0795bdb2a8f4737d5f85d /llvm/tools/llc
parent7e44a8440c55a3592901c3c2290cf25ca5c78619 (diff)
downloadbcm5719-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/tools/llc')
-rw-r--r--llvm/tools/llc/llc.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp
index be103845e97..a566d15cd81 100644
--- a/llvm/tools/llc/llc.cpp
+++ b/llvm/tools/llc/llc.cpp
@@ -148,12 +148,6 @@ static cl::opt<std::string>
cl::desc("YAML output filename for pass remarks"),
cl::value_desc("filename"));
-static cl::opt<std::string>
- RemarksPasses("pass-remarks-filter",
- cl::desc("Only record optimization remarks from passes whose "
- "names match the given regular expression"),
- cl::value_desc("regex"));
-
namespace {
static ManagedStatic<std::vector<std::string>> RunPassNames;
@@ -342,12 +336,6 @@ int main(int argc, char **argv) {
}
Context.setRemarkStreamer(
llvm::make_unique<RemarkStreamer>(RemarksFilename, YamlFile->os()));
-
- if (!RemarksPasses.empty())
- if (Error E = Context.getRemarkStreamer()->setFilter(RemarksPasses)) {
- WithColor::error(errs(), argv[0]) << E << '\n';
- return 1;
- }
}
if (InputLanguage != "" && InputLanguage != "ir" &&
OpenPOWER on IntegriCloud