Avoid resetting the UseSoftFloat and FloatABIType on the TargetMachine
[oota-llvm.git] / lib / Target / Mips / MCTargetDesc / MipsABIFlagsSection.h
index e56efd04ac1434dbd919b8e537da962827eab2cf..ea5bc12b07406b875aee320d2a860047b093307a 100644 (file)
@@ -181,7 +181,7 @@ public:
 
   template <class PredicateLibrary>
   void setCPR1SizeFromPredicates(const PredicateLibrary &P) {
-    if (P.mipsSEUsesSoftFloat())
+    if (P.abiUsesSoftFloat())
       CPR1Size = AFL_REG_NONE;
     else if (P.hasMSA())
       CPR1Size = AFL_REG_128;