Skip to content

Commit

Permalink
[AIX] Actually push back "-mabi=vec-extabi" when option is on.
Browse files Browse the repository at this point in the history
Accidentaly ommitted the portion of pushing back the option in
https://reviews.llvm.org/D94986
  • Loading branch information
ZarkoT committed Jan 29, 2021
1 parent 6057517 commit caaaebc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/lib/Driver/ToolChains/Clang.cpp
Expand Up @@ -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)) {
Expand Down

0 comments on commit caaaebc

Please sign in to comment.