OSDN Git Service

[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343682 91177308-0d34-0410-b5e6-96231b3b80d8

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);