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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212152 91177308-0d34-0410-b5e6-96231b3b80d8

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);