]> granicus.if.org Git - llvm/commitdiff
[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 59421604506f96f9c8549fb008cd50ee15a49f87..44b1139c94f773a9b9bf3611c9eebc5c13663805 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()),