diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index 721c4f26da7..f89f0e24d00 100644 --- a/lib/Target/Mips/MipsSubtarget.cpp +++ b/lib/Target/Mips/MipsSubtarget.cpp @@ -86,8 +86,7 @@ MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &CPU, InMicroMipsMode(false), HasDSP(false), HasDSPR2(false), AllowMixed16_32(Mixed16_32 | Mips_Os16), Os16(Mips_Os16), HasMSA(false), RM(_RM), OverrideMode(NoOverride), TM(_TM), TargetTriple(TT), JITInfo() { - std::string CPUName = CPU; - CPUName = selectMipsCPU(TT, CPUName); + std::string CPUName = selectMipsCPU(TT, CPU); // Parse features string. ParseSubtargetFeatures(CPUName, FS);