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 {
245
245
MipsSubtarget &
246
246
MipsSubtarget::initializeSubtargetDependencies (StringRef CPU, StringRef FS,
247
247
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);
259
249
260
250
// Parse features string.
261
- ParseSubtargetFeatures (CPUName, /* TuneCPU= */ CPUName, FullFS );
251
+ ParseSubtargetFeatures (CPUName, /* TuneCPU*/ CPUName, FS );
262
252
// Initialize scheduling itinerary for the specified CPU.
263
253
InstrItins = getInstrItineraryForCPU (CPUName);
264
254
You can’t perform that action at this time.
0 commit comments