1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Remove redundant code. There are assignments to variables Base and Offset right after the code that is removed.

llvm-svn: 128742
This commit is contained in:
Akira Hatanaka 2011-04-01 21:56:02 +00:00
parent 9257b524eb
commit 9f4b4d2dc1

View File

@ -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;
Offset = CurDAG->getTargetConstant(0, MVT::i32);
return true;