[llvm] af340ae - X86: remove unused variable
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 11:41:36 PST 2020
Author: Saleem Abdulrasool
Date: 2020-01-02T11:41:21-08:00
New Revision: af340ae19f4bb109c63ca41663c97c45a39f512e
URL: https://github.com/llvm/llvm-project/commit/af340ae19f4bb109c63ca41663c97c45a39f512e
DIFF: https://github.com/llvm/llvm-project/commit/af340ae19f4bb109c63ca41663c97c45a39f512e.diff
LOG: X86: remove unused variable
Remove the now unused-variable from
aa17d31edb00c66461093b5a7cd2f4a35dc143e9. This breaks `-Werror` builds.
Added:
Modified:
llvm/lib/Target/X86/X86FloatingPoint.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp
index d7f4eba62995..13bbd6ccfce4 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);
More information about the llvm-commits
mailing list