mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
[Target/MIPS] Kill dead code, no functional change intended.
Hopefully placates gcc with -Werror. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296153 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98ee128c8e
commit
de428a4c0b
@ -1437,17 +1437,6 @@ MachineBasicBlock *MipsTargetLowering::emitAtomicCmpSwapPartword(
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user