diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp index 4bec7372e694..c8592bd1c883 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -2860,7 +2860,6 @@ bool AArch64InstrInfo::optimizeCondBranch(MachineInstr *MI) const { bool IsNegativeBranch = false; bool IsTestAndBranch = false; unsigned TargetBBInMI = 0; - unsigned CCInMI = 0; switch (MI->getOpcode()) { default: llvm_unreachable("Unknown branch instruction?");