aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-exegesis/lib/Analysis.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-10-03 12:27:43 +0000
committerClement Courbet <courbet@google.com>2018-10-03 12:27:43 +0000
commitaf50a5b85fe82d8b965142ddf5bfd843efed67d0 (patch)
treec2d184613bc686c7c90044f037e8954ec4302f7c /llvm/tools/llvm-exegesis/lib/Analysis.cpp
parent7146b0032fa4f713da5e199e4b96cfa84a630119 (diff)
downloadllvm-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.cpp1
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);