summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/InstructionTables.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-05-04 13:10:10 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-05-04 13:10:10 +0000
commit49c859139744dca68696aef6ff7509f6a8a1652c (patch)
tree86357984bad185e086b312d5cbec9e4099b32461 /llvm/tools/llvm-mca/InstructionTables.cpp
parentbe51b20127de636d26bb9b277206e66426366664 (diff)
downloadbcm5719-llvm-49c859139744dca68696aef6ff7509f6a8a1652c.tar.gz
bcm5719-llvm-49c859139744dca68696aef6ff7509f6a8a1652c.zip
[llvm-mca] remove unused argument from method InstrBuilder::createInstrDescImpl.
We don't need to pass the instruction index to the method that constructs new instruction descriptors. No functional change intended. llvm-svn: 331516
Diffstat (limited to 'llvm/tools/llvm-mca/InstructionTables.cpp')
-rw-r--r--llvm/tools/llvm-mca/InstructionTables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/InstructionTables.cpp b/llvm/tools/llvm-mca/InstructionTables.cpp
index 18691adfed1..ae96568f166 100644
--- a/llvm/tools/llvm-mca/InstructionTables.cpp
+++ b/llvm/tools/llvm-mca/InstructionTables.cpp
@@ -31,7 +31,7 @@ void InstructionTables::run() {
while (S.hasNext()) {
UsedResources.clear();
InstRef IR = S.peekNext();
- std::unique_ptr<Instruction> Inst = IB.createInstruction(IR.first, *IR.second);
+ std::unique_ptr<Instruction> Inst = IB.createInstruction(*IR.second);
const InstrDesc &Desc = Inst->getDesc();
// Now identify the resources consumed by this instruction.
for (const std::pair<uint64_t, ResourceUsage> Resource : Desc.Resources) {
OpenPOWER on IntegriCloud