projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2e436a
)
Remove redundant code. There are assignments to variables Base and Offset right after...
author
Akira Hatanaka
<ahatanak@gmail.com>
Fri, 1 Apr 2011 21:56:02 +0000
(21:56 +0000)
committer
Akira Hatanaka
<ahatanak@gmail.com>
Fri, 1 Apr 2011 21:56:02 +0000
(21:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128742
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsISelDAGToDAG.cpp
b/lib/Target/Mips/MipsISelDAGToDAG.cpp
index f2e53a85d1ea36eed4a1b63110645cce4dd5e817..3749009112eae14a32e23103599124a515e8a883 100644
(file)
--- a/
lib/Target/Mips/MipsISelDAGToDAG.cpp
+++ b/
lib/Target/Mips/MipsISelDAGToDAG.cpp
@@
-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;