[llvm] r345378 - [llvm-mca] Fix -wreorder and -Wunused-private-field after r345376. NFC
Sam McCall via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 26 05:19:49 PDT 2018
Author: sammccall
Date: Fri Oct 26 05:19:48 2018
New Revision: 345378
URL: http://llvm.org/viewvc/llvm-project?rev=345378&view=rev
Log:
[llvm-mca] Fix -wreorder and -Wunused-private-field after r345376. NFC
Modified:
llvm/trunk/tools/llvm-mca/Views/SummaryView.cpp
llvm/trunk/tools/llvm-mca/Views/TimelineView.h
Modified: llvm/trunk/tools/llvm-mca/Views/SummaryView.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/Views/SummaryView.cpp?rev=345378&r1=345377&r2=345378&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/Views/SummaryView.cpp (original)
+++ llvm/trunk/tools/llvm-mca/Views/SummaryView.cpp Fri Oct 26 05:19:48 2018
@@ -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);
}
Modified: llvm/trunk/tools/llvm-mca/Views/TimelineView.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/Views/TimelineView.h?rev=345378&r1=345377&r2=345378&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/Views/TimelineView.h (original)
+++ llvm/trunk/tools/llvm-mca/Views/TimelineView.h Fri Oct 26 05:19:48 2018
@@ -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';
More information about the llvm-commits
mailing list