diff options
author | Clement Courbet <courbet@google.com> | 2018-10-03 12:27:43 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-10-03 12:27:43 +0000 |
commit | af50a5b85fe82d8b965142ddf5bfd843efed67d0 (patch) | |
tree | c2d184613bc686c7c90044f037e8954ec4302f7c /llvm/tools/llvm-exegesis/lib/Analysis.cpp | |
parent | 7146b0032fa4f713da5e199e4b96cfa84a630119 (diff) | |
download | llvm-af50a5b85fe82d8b965142ddf5bfd843efed67d0.zip llvm-af50a5b85fe82d8b965142ddf5bfd843efed67d0.tar.gz llvm-af50a5b85fe82d8b965142ddf5bfd843efed67d0.tar.bz2 |
[llvm-exegesis][NFC] Fix unused variable warning.
llvm-svn: 343682
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Analysis.cpp')
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/Analysis.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Analysis.cpp b/llvm/tools/llvm-exegesis/lib/Analysis.cpp index eca4a35..4c05196 100644 --- a/llvm/tools/llvm-exegesis/lib/Analysis.cpp +++ b/llvm/tools/llvm-exegesis/lib/Analysis.cpp @@ -136,7 +136,6 @@ void Analysis::printInstructionRowCsv(const size_t PointId, writeEscaped<kEscapeCsv>(OS, Point.Key.Config); OS << kCsvSep; assert(!Point.Key.Instructions.empty()); - const auto &SchedModel = SubtargetInfo_->getSchedModel(); const llvm::MCInst &MCI = Point.Key.Instructions[0]; const unsigned SchedClassId = resolveSchedClassId( *SubtargetInfo_, InstrInfo_->get(MCI.getOpcode()).getSchedClass(), MCI); |