diff options
author | Clement Courbet <courbet@google.com> | 2018-05-17 12:25:18 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-05-17 12:25:18 +0000 |
commit | 448550d947e74912b8a3b49db517ab793e96d027 (patch) | |
tree | 5affccd03a792fc3a8a867bd686a835411b59818 /llvm/tools/llvm-exegesis/llvm-exegesis.cpp | |
parent | 3d5e08de9616791522a9ebd8d018dad0235b6330 (diff) | |
download | bcm5719-llvm-448550d947e74912b8a3b49db517ab793e96d027.tar.gz bcm5719-llvm-448550d947e74912b8a3b49db517ab793e96d027.zip |
[llvm-exegesis] Analysis: detect clustering inconsistencies.
Summary:
Warn on instructions that should have the same performance
characteristics according to the sched model but actually
differ in their benchmarks.
Next step: Make the display nicer to browse, I was thinking maybe html.
Reviewers: gchatelet
Subscribers: tschuett, llvm-commits
Differential Revision: https://reviews.llvm.org/D46945
llvm-svn: 332601
Diffstat (limited to 'llvm/tools/llvm-exegesis/llvm-exegesis.cpp')
-rw-r--r-- | llvm/tools/llvm-exegesis/llvm-exegesis.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/llvm-exegesis.cpp b/llvm/tools/llvm-exegesis/llvm-exegesis.cpp index 2b77288d288..23453747e6d 100644 --- a/llvm/tools/llvm-exegesis/llvm-exegesis.cpp +++ b/llvm/tools/llvm-exegesis/llvm-exegesis.cpp @@ -160,6 +160,9 @@ void analysisMain() { if (auto Err = Analyzer.printClusters(ClustersOS)) llvm::report_fatal_error(std::move(Err)); + + if (auto Err = Analyzer.printSchedClassInconsistencies(llvm::outs())) + llvm::report_fatal_error(std::move(Err)); } } // namespace exegesis |