[PATCH] D94986: Remove requirement for -maltivec to be used when using -mabi=vec-extabi or -mabi=vec-default when not using vector code
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 21 20:38:21 PST 2021
hubert.reinterpretcast added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4669
<< A->getSpelling() << RawTriple.str();
- if (!Args.hasArg(options::OPT_maltivec))
- D.Diag(diag::err_aix_altivec);
+ if (Args.hasArg(options::OPT_mabi_EQ_vec_default))
+ D.Diag(diag::err_aix_default_altivec_abi);
----------------
Only generate the message when the option is active.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94986/new/
https://reviews.llvm.org/D94986
More information about the cfe-commits
mailing list