[ARM] Cortex-R4F is not VFPOnlySP
[oota-llvm.git] / lib / Target / Mips / MipsTargetMachine.cpp
index 2e68a48734db54ae8b4d48b79d30c201d8e347e4..c820668befa03c603db75a662a4eb458b7bcfa24 100644 (file)
@@ -156,8 +156,8 @@ MipsTargetMachine::getSubtargetImpl(const Function &F) const {
     // creation will depend on the TM and the code generation flags on the
     // function that reside in TargetOptions.
     resetTargetOptions(F);
-    I = llvm::make_unique<MipsSubtarget>(Triple(TargetTriple), CPU, FS,
-                                         isLittle, *this);
+    I = llvm::make_unique<MipsSubtarget>(TargetTriple, CPU, FS, isLittle,
+                                         *this);
   }
   return I.get();
 }