From: Akira Hatanaka Date: Fri, 1 Apr 2011 21:56:02 +0000 (+0000) Subject: Remove redundant code. There are assignments to variables Base and Offset right after... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ad8180a0b85cbb66d30ba011d358279e6d461a16;p=oota-llvm.git 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 --- diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp index f2e53a85d1e..3749009112e 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(Addr.getOperand(1))) { - Base = Addr.getOperand(0); - Offset = Addr.getOperand(1); - } - Base = Addr; Offset = CurDAG->getTargetConstant(0, MVT::i32); return true;