From d6c6eb3db5574225f5073ef1ecca886152ac7038 Mon Sep 17 00:00:00 2001 From: =?utf8?q?D=C3=A1vid=20Bolvansk=C3=BD?= Date: Fri, 25 Mar 2022 17:10:25 +0100 Subject: [PATCH] [NFCI] Fix set-but-unused warning in AArch64AsmParser.cpp --- llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp index 04ab54c..436572c 100644 --- a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp +++ b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp @@ -3921,7 +3921,6 @@ AArch64AsmParser::tryParseMatrixTileList(OperandVector &Operands) { const MCRegisterInfo *RI = getContext().getRegisterInfo(); unsigned PrevReg = FirstReg; - unsigned Count = 1; SmallSet DRegs; AArch64Operand::ComputeRegsForAlias(FirstReg, DRegs, ElementWidth); @@ -3953,7 +3952,6 @@ AArch64AsmParser::tryParseMatrixTileList(OperandVector &Operands) { } PrevReg = Reg; - ++Count; } if (parseToken(AsmToken::RCurly, "'}' expected")) -- 2.7.4