summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/llvm-mca.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-06-10 12:50:08 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-06-10 12:50:08 +0000
commit47db08dbb19cc326e7002b0068237e1b92bd529e (patch)
tree3522e837fca42a0ee61bc1d17a21261d9125ad0c /llvm/tools/llvm-mca/llvm-mca.cpp
parentb67333f283c03a065a92241054c630d651b181ad (diff)
downloadbcm5719-llvm-47db08dbb19cc326e7002b0068237e1b92bd529e.tar.gz
bcm5719-llvm-47db08dbb19cc326e7002b0068237e1b92bd529e.zip
[MCA] Further refactor the bottleneck analysis view. NFCI.
llvm-svn: 362933
Diffstat (limited to 'llvm/tools/llvm-mca/llvm-mca.cpp')
-rw-r--r--llvm/tools/llvm-mca/llvm-mca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/llvm-mca.cpp b/llvm/tools/llvm-mca/llvm-mca.cpp
index a875c70e17f..6e6d23ff6f1 100644
--- a/llvm/tools/llvm-mca/llvm-mca.cpp
+++ b/llvm/tools/llvm-mca/llvm-mca.cpp
@@ -487,7 +487,7 @@ int main(int argc, char **argv) {
llvm::make_unique<mca::SummaryView>(SM, Insts, DispatchWidth));
if (EnableBottleneckAnalysis)
- Printer.addView(llvm::make_unique<mca::BottleneckAnalysis>(*STI, Insts));
+ Printer.addView(llvm::make_unique<mca::BottleneckAnalysis>(*STI, *IP, Insts));
if (PrintInstructionInfoView)
Printer.addView(
OpenPOWER on IntegriCloud