diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-04-01 21:56:02 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-04-01 21:56:02 +0000 |
commit | ad8180a0b85cbb66d30ba011d358279e6d461a16 (patch) | |
tree | 028320c2c2ae5a77e2dea8296bd3d4965d79d0fc /lib | |
parent | e2e436a6bc44deb2f989a39514f482b4932b93bc (diff) | |
download | llvm-ad8180a0b85cbb66d30ba011d358279e6d461a16.tar.gz llvm-ad8180a0b85cbb66d30ba011d358279e6d461a16.tar.bz2 llvm-ad8180a0b85cbb66d30ba011d358279e6d461a16.tar.xz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/MipsISelDAGToDAG.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp index f2e53a85d1..3749009112 100644 --- 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; |