[PATCH] D153707: [Clang][LoongArch] Consume and check -mabi and -mfpu even if -m*-float is present
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 25 21:00:14 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticDriverKinds.td:732
+def warn_drv_loongarch_conflicting_mabi : Warning<
+ "ignoring -mabi value '%0' as it conflicts with that implied by -m*-float (%1)">,
+ InGroup<OptionIgnored>;
----------------
You can make `-mabi`/`-mfpu` an argument as well so that we can create just one `def`.
It would be good to expand `-m*-float`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153707/new/
https://reviews.llvm.org/D153707
More information about the cfe-commits
mailing list