[llvm] r212244 - Remove dead code.
Eric Christopher
echristo at gmail.com
Wed Jul 2 17:44:28 PDT 2014
Author: echristo
Date: Wed Jul 2 19:44:28 2014
New Revision: 212244
URL: http://llvm.org/viewvc/llvm-project?rev=212244&view=rev
Log:
Remove dead code.
Modified:
llvm/trunk/lib/Target/Mips/Mips16ISelLowering.cpp
Modified: llvm/trunk/lib/Target/Mips/Mips16ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips16ISelLowering.cpp?rev=212244&r1=212243&r2=212244&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Mips16ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/Mips16ISelLowering.cpp Wed Jul 2 19:44:28 2014
@@ -120,13 +120,6 @@ static const Mips16IntrinsicHelperType M
Mips16TargetLowering::Mips16TargetLowering(MipsTargetMachine &TM)
: MipsTargetLowering(TM) {
- //
- // set up as if mips32 and then revert so we can test the mechanism
- // for switching
- addRegisterClass(MVT::i32, &Mips::GPR32RegClass);
- addRegisterClass(MVT::f32, &Mips::FGR32RegClass);
- computeRegisterProperties();
- clearRegisterClasses();
// Set up the register classes
addRegisterClass(MVT::i32, &Mips::CPU16RegsRegClass);
More information about the llvm-commits
mailing list