projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7146b00
)
[llvm-exegesis][NFC] Fix unused variable warning.
author
Clement Courbet
<courbet@google.com>
Wed, 3 Oct 2018 12:27:43 +0000
(12:27 +0000)
committer
Clement 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
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-exegesis/lib/Analysis.cpp
b/llvm/tools/llvm-exegesis/lib/Analysis.cpp
index
eca4a35
..
4c05196
100644
(file)
--- 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);