From: Andrea Di Biagio Date: Wed, 14 Mar 2018 15:19:47 +0000 (+0000) Subject: [llvm-mca] Remove unused variable from InstrBuilder.cpp. NFC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36e34a99c72a3aa62ddf38b6161ae6c3a860eaf1;p=platform%2Fupstream%2Fllvm.git [llvm-mca] Remove unused variable from InstrBuilder.cpp. NFC This was causing a buildbot failure. llvm-svn: 327517 --- diff --git a/llvm/tools/llvm-mca/InstrBuilder.cpp b/llvm/tools/llvm-mca/InstrBuilder.cpp index 7c9ffdc..8a0335c 100644 --- a/llvm/tools/llvm-mca/InstrBuilder.cpp +++ b/llvm/tools/llvm-mca/InstrBuilder.cpp @@ -424,7 +424,6 @@ Instruction *InstrBuilder::createInstruction(const MCSubtargetInfo &STI, Instruction *NewIS = new Instruction(D); // Populate Reads first. - const MCSchedModel &SM = STI.getSchedModel(); for (const ReadDescriptor &RD : D.Reads) { int RegID = -1; if (RD.OpIndex != -1) {