[AIX] Actually push back "-mabi=vec-extabi" when option is on.

Accidentaly ommitted the portion of pushing back the option in
https://reviews.llvm.org/D94986
This commit is contained in:
Zarko Todorovski 2021-01-29 14:05:17 -05:00
parent 6057517904
commit caaaebcde4
1 changed files with 2 additions and 0 deletions

View File

@ -4684,6 +4684,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
<< A->getSpelling() << RawTriple.str();
if (A->getOption().getID() == options::OPT_mabi_EQ_vec_default)
D.Diag(diag::err_aix_default_altivec_abi);
if (A->getOption().getID() == options::OPT_mabi_EQ_vec_extabi)
CmdArgs.push_back("-mabi=vec-extabi");
}
if (Arg *A = Args.getLastArg(options::OPT_Wframe_larger_than_EQ)) {