[mips] Fold FeatureSEInReg into FeatureMips32r2
[oota-llvm.git] / lib / Target / Mips / MipsISelLowering.cpp
index 92bbd65e23f39c83c3e286948498bb28c4c3f856..64244ee109653477eb16125806931e67729cb1c5 100644 (file)
@@ -352,7 +352,7 @@ MipsTargetLowering::MipsTargetLowering(MipsTargetMachine &TM)
 
   setInsertFencesForAtomic(true);
 
-  if (!Subtarget->hasSEInReg()) {
+  if (!Subtarget->hasMips32r2()) {
     setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i8,  Expand);
     setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i16, Expand);
   }