mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Remove redundant code. There are assignments to variables Base and Offset right after the code that is removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2e436a6bc
commit
ad8180a0b8
@ -171,11 +171,6 @@ SelectAddr(SDValue Addr, SDValue &Offset, SDValue &Base) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isa<BlockAddressSDNode>(Addr.getOperand(1))) {
|
|
||||||
Base = Addr.getOperand(0);
|
|
||||||
Offset = Addr.getOperand(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
Base = Addr;
|
Base = Addr;
|
||||||
Offset = CurDAG->getTargetConstant(0, MVT::i32);
|
Offset = CurDAG->getTargetConstant(0, MVT::i32);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user