[clang] [clang] Support -Wa, options -mmsa and -mno-msa (PR #99615)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 14:41:46 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:

`std::optional<bool> Msa`. `-mno-msa` should lead to an error even on non-mips targets.

https://github.com/llvm/llvm-project/pull/99615


More information about the cfe-commits mailing list