summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-10-26 12:19:48 +0000
committerSam McCall <sam.mccall@gmail.com>2018-10-26 12:19:48 +0000
commit0739ffc1619ff1f0eeec92f205278ebbf476035c (patch)
tree149f56401829ad244b0688b88efec10d4d04be94
parent088d96b43dcf835ffb7f01a6894c25e470767b42 (diff)
downloadbcm5719-llvm-0739ffc1619ff1f0eeec92f205278ebbf476035c.tar.gz
bcm5719-llvm-0739ffc1619ff1f0eeec92f205278ebbf476035c.zip
[llvm-mca] Fix -wreorder and -Wunused-private-field after r345376. NFC
llvm-svn: 345378
-rw-r--r--llvm/tools/llvm-mca/Views/SummaryView.cpp4
-rw-r--r--llvm/tools/llvm-mca/Views/TimelineView.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/tools/llvm-mca/Views/SummaryView.cpp b/llvm/tools/llvm-mca/Views/SummaryView.cpp
index a509818e6d7..2007746b81f 100644
--- a/llvm/tools/llvm-mca/Views/SummaryView.cpp
+++ b/llvm/tools/llvm-mca/Views/SummaryView.cpp
@@ -26,8 +26,8 @@ using namespace llvm;
SummaryView::SummaryView(const MCSchedModel &Model, ArrayRef<MCInst> S,
unsigned Width)
- : SM(Model), Source(S), DispatchWidth(Width), TotalCycles(0),
- LastInstructionIdx(0), NumMicroOps(0),
+ : SM(Model), Source(S), DispatchWidth(Width), LastInstructionIdx(0),
+ TotalCycles(0), NumMicroOps(0),
ProcResourceUsage(Model.getNumProcResourceKinds(), 0) {
computeProcResourceMasks(SM, ProcResourceMasks);
}
diff --git a/llvm/tools/llvm-mca/Views/TimelineView.h b/llvm/tools/llvm-mca/Views/TimelineView.h
index 244d254b7f5..9b39a98c74a 100644
--- a/llvm/tools/llvm-mca/Views/TimelineView.h
+++ b/llvm/tools/llvm-mca/Views/TimelineView.h
@@ -153,8 +153,6 @@ class TimelineView : public View {
const WaitTimeEntry &E, unsigned Index,
unsigned Executions) const;
- const unsigned DEFAULT_ITERATIONS = 10;
-
// Display characters for the TimelineView report output.
struct DisplayChar {
static const char Dispatched = 'D';
OpenPOWER on IntegriCloud