[clang] [clang] Support -Wa, options -mmsa and -mno-msa (PR #99615)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 12 21:01:10 PDT 2024
================
@@ -2507,6 +2507,7 @@ static void CollectArgsForIntegratedAssembler(Compilation &C,
bool Crel = false, ExperimentalCrel = false;
bool UseRelaxRelocations = C.getDefaultToolChain().useRelaxRelocations();
bool UseNoExecStack = false;
+ bool Msa = false;
----------------
MaskRay wrote:
Please do use `std::optional<bool> Msa` and please don't add `err_drv_msa_and_nomsa`. It's common for `-Wa,--foo` to override a previous `-Wa,--no-foo`. There shouldn't be an error.
https://github.com/llvm/llvm-project/pull/99615
More information about the cfe-commits
mailing list