[clang] [SPARC][clang] Add -m(no-)v8plus flags handling (PR #98713)
Sergei Barannikov via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 31 03:35:39 PDT 2024
================
@@ -179,6 +179,13 @@ void sparc::getSparcTargetFeatures(const Driver &D, const ArgList &Args,
Features.push_back("-hard-quad-float");
}
+ if (Arg *A = Args.getLastArg(options::OPT_mv8plus, options::OPT_mno_v8plus)) {
+ if (A->getOption().matches(options::OPT_mv8plus))
----------------
s-barannikov wrote:
Either way, the order of `-m8plus` relative to `-mcpu` shouldn't matter (one sets the environment, the other sets an ISA).
https://github.com/llvm/llvm-project/pull/98713
More information about the cfe-commits
mailing list