File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -245,20 +245,10 @@ CodeGenOptLevel MipsSubtarget::getOptLevelToEnablePostRAScheduler() const {
245245MipsSubtarget &
246246MipsSubtarget::initializeSubtargetDependencies (StringRef CPU, StringRef FS,
247247 const TargetMachine &TM) {
248- const Triple &TT = TM.getTargetTriple ();
249- StringRef CPUName = MIPS_MC::selectMipsCPU (TT, CPU);
250-
251- std::string FullFS;
252- if (getABI ().ArePtrs64bit ()) {
253- FullFS = " +ptr64" ;
254- if (!FS.empty ())
255- FullFS = (Twine (FullFS) + " ," + FS).str ();
256- } else {
257- FullFS = FS.str ();
258- }
248+ StringRef CPUName = MIPS_MC::selectMipsCPU (TM.getTargetTriple (), CPU);
259249
260250 // Parse features string.
261- ParseSubtargetFeatures (CPUName, /* TuneCPU= */ CPUName, FullFS );
251+ ParseSubtargetFeatures (CPUName, /* TuneCPU*/ CPUName, FS );
262252 // Initialize scheduling itinerary for the specified CPU.
263253 InstrItins = getInstrItineraryForCPU (CPUName);
264254
You can’t perform that action at this time.
0 commit comments