mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
[ARM] Remove another redundant assignment.
Found by the Clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221368 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -206,7 +206,6 @@ void llvm::emitThumbRegPlusImmediate(MachineBasicBlock &MBB,
|
|||||||
// r8 = sub sp, c
|
// r8 = sub sp, c
|
||||||
if (DestReg != BaseReg)
|
if (DestReg != BaseReg)
|
||||||
DstNotEqBase = true;
|
DstNotEqBase = true;
|
||||||
NumBits = 8;
|
|
||||||
if (DestReg == ARM::SP) {
|
if (DestReg == ARM::SP) {
|
||||||
Opc = isSub ? ARM::tSUBspi : ARM::tADDspi;
|
Opc = isSub ? ARM::tSUBspi : ARM::tADDspi;
|
||||||
assert(isMul4 && "Thumb sp inc / dec size must be multiple of 4!");
|
assert(isMul4 && "Thumb sp inc / dec size must be multiple of 4!");
|
||||||
|
Reference in New Issue
Block a user