[llvm-exegesis][NFC] Fix unused variable warning.
authorClement Courbet <courbet@google.com>
Wed, 3 Oct 2018 12:27:43 +0000 (12:27 +0000)
committerClement Courbet <courbet@google.com>
Wed, 3 Oct 2018 12:27:43 +0000 (12:27 +0000)
llvm-svn: 343682

llvm/tools/llvm-exegesis/lib/Analysis.cpp

index eca4a35..4c05196 100644 (file)
@@ -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);