OSDN Git Service

[MCA] Correctly initialize struct SummaryView::BackPressureInfo.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Mon, 4 Mar 2019 12:23:05 +0000 (12:23 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Mon, 4 Mar 2019 12:23:05 +0000 (12:23 +0000)
This should appease the buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355309 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-mca/Views/SummaryView.cpp

index 5942160..44b1139 100644 (file)
@@ -25,7 +25,7 @@ namespace mca {
 SummaryView::SummaryView(const MCSchedModel &Model, ArrayRef<MCInst> S,
                          unsigned Width)
     : SM(Model), Source(S), DispatchWidth(Width), LastInstructionIdx(0),
-      TotalCycles(0), NumMicroOps(0), BPI({0, 0, 0, 0}),
+      TotalCycles(0), NumMicroOps(0), BPI({0, 0, 0, 0, 0}),
       ResourcePressureDistribution(Model.getNumProcResourceKinds(), 0),
       ProcResourceUsage(Model.getNumProcResourceKinds(), 0),
       ProcResourceMasks(Model.getNumProcResourceKinds()),