[PATCH] D126302: [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 06:53:29 PDT 2022


amyk added inline comments.


================
Comment at: clang/lib/Basic/Targets/PPC.cpp:452
+  if (llvm::is_contained(FeaturesVec, "-hard-float") &&
+      llvm::is_contained(FeaturesVec, "+altivec"))
+    Diags.Report(diag::err_opt_not_valid_with_opt) << "-msoft-float"
----------------
Do we also need a case to represent `-msoft-float` and `-mvsx`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126302/new/

https://reviews.llvm.org/D126302



More information about the cfe-commits mailing list