Unify these two lines.
authorEric Christopher <echristo@gmail.com>
Wed, 2 Jul 2014 01:02:28 +0000 (01:02 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 2 Jul 2014 01:02:28 +0000 (01:02 +0000)
llvm-svn: 212152

llvm/lib/Target/Mips/MipsSubtarget.cpp

index 721c4f2..f89f0e2 100644 (file)
@@ -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);