[llvm-exegesis][NFC] Fix unused variable warning.

llvm-svn: 343682
This commit is contained in:
Clement Courbet 2018-10-03 12:27:43 +00:00
parent 7146b0032f
commit af50a5b85f
1 changed files with 0 additions and 1 deletions

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