[llvm] r296153 - [Target/MIPS] Kill dead code, no functional change intended.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 24 10:48:11 PST 2017
Author: davide
Date: Fri Feb 24 12:48:10 2017
New Revision: 296153
URL: http://llvm.org/viewvc/llvm-project?rev=296153&view=rev
Log:
[Target/MIPS] Kill dead code, no functional change intended.
Hopefully placates gcc with -Werror.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=296153&r1=296152&r2=296153&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Fri Feb 24 12:48:10 2017
@@ -1437,17 +1437,6 @@ MachineBasicBlock *MipsTargetLowering::e
unsigned AtomicOp = MI.getOpcode() == Mips::ATOMIC_CMP_SWAP_I8_PSEUDO
? Mips::ATOMIC_CMP_SWAP_I8_FRAG
: Mips::ATOMIC_CMP_SWAP_I16_FRAG;
- unsigned LL, SC;
-
- if (isMicroMips) {
- LL = Mips::LL_MM;
- SC = Mips::SC_MM;
- } else {
- LL = Subtarget.hasMips32r6() ? (ArePtrs64bit ? Mips::LL64_R6 : Mips::LL_R6)
- : (ArePtrs64bit ? Mips::LL64 : Mips::LL);
- SC = Subtarget.hasMips32r6() ? (ArePtrs64bit ? Mips::SC64_R6 : Mips::SC_R6)
- : (ArePtrs64bit ? Mips::SC64 : Mips::SC);
- }
// insert new blocks after the current block
const BasicBlock *LLVM_BB = BB->getBasicBlock();
More information about the llvm-commits
mailing list