mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00: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:
parent
9257b524eb
commit
9f4b4d2dc1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user