From af340ae19f4bb109c63ca41663c97c45a39f512e Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 2 Jan 2020 11:40:49 -0800 Subject: [PATCH] X86: remove unused variable Remove the now unused-variable from aa17d31edb00c66461093b5a7cd2f4a35dc143e9. This breaks `-Werror` builds. --- llvm/lib/Target/X86/X86FloatingPoint.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp index d7f4eba62995a..13bbd6ccfce45 100644 --- a/llvm/lib/Target/X86/X86FloatingPoint.cpp +++ b/llvm/lib/Target/X86/X86FloatingPoint.cpp @@ -978,7 +978,6 @@ void FPS::shuffleStackTop(const unsigned char *FixStack, void FPS::handleCall(MachineBasicBlock::iterator &I) { MachineInstr &MI = *I; unsigned STReturns = 0; - const MachineFunction* MF = I->getParent()->getParent(); for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) { MachineOperand &Op = MI.getOperand(i);