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

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 15 00:55:46 PDT 2024


================
@@ -2716,6 +2721,18 @@ static void CollectArgsForIntegratedAssembler(Compilation &C,
           << "-Wa,--crel" << D.getTargetTriple();
     }
   }
+  if (Msa) {
+    if (!Triple.isMIPS()) {
+      if (*Msa)
+        D.Diag(diag::err_drv_unsupported_opt_for_target)
----------------
yingopq wrote:

OK, I applied it. Thanks!

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


More information about the cfe-commits mailing list