[X86][Driver] Remove code that forced a core2 mtune from MachO::TranslateArgs.

mtune was previously ignored by the compiler so I'm not sure this
did anything. But after D85384 we're starting to support mtune
and this code is now causing a couple test failures on MacOS.
This commit is contained in:
Craig Topper 2020-08-18 23:43:15 -07:00
parent 21e4b9b204
commit b32f203edc
1 changed files with 0 additions and 5 deletions

View File

@ -2271,11 +2271,6 @@ DerivedArgList *MachO::TranslateArgs(const DerivedArgList &Args,
} }
} }
if (getTriple().isX86())
if (!Args.hasArgNoClaim(options::OPT_mtune_EQ))
DAL->AddJoinedArg(nullptr, Opts.getOption(options::OPT_mtune_EQ),
"core2");
// Add the arch options based on the particular spelling of -arch, to match // Add the arch options based on the particular spelling of -arch, to match
// how the driver driver works. // how the driver driver works.
if (!BoundArch.empty()) { if (!BoundArch.empty()) {