[llvm-commits] [llvm] r128742 - /llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Akira Hatanaka
ahatanak at gmail.com
Fri Apr 1 14:56:02 PDT 2011
Author: ahatanak
Date: Fri Apr 1 16:56:02 2011
New Revision: 128742
URL: http://llvm.org/viewvc/llvm-project?rev=128742&view=rev
Log:
Remove redundant code. There are assignments to variables Base and Offset right after the code that is removed.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp?rev=128742&r1=128741&r2=128742&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp Fri Apr 1 16:56:02 2011
@@ -171,11 +171,6 @@
}
}
- if (isa<BlockAddressSDNode>(Addr.getOperand(1))) {
- Base = Addr.getOperand(0);
- Offset = Addr.getOperand(1);
- }
-
Base = Addr;
Offset = CurDAG->getTargetConstant(0, MVT::i32);
return true;
More information about the llvm-commits
mailing list