[flang-commits] [clang] [flang] [flang][RISCV][WIP] Add target-abi ModuleFlag. (PR #126188)

Jessica Clarke via flang-commits flang-commits at lists.llvm.org
Thu Feb 6 22:54:31 PST 2025


================
@@ -464,6 +464,7 @@ static void parseTargetArgs(TargetOptions &opts, llvm::opt::ArgList &args) {
 
   if (const llvm::opt::Arg *a =
           args.getLastArg(clang::driver::options::OPT_mabi_EQ)) {
+    opts.abi = a->getValue();
     llvm::StringRef V = a->getValue();
     if (V == "vec-extabi") {
----------------
jrtc27 wrote:

Existing bug but why are these not checking the target is powerpc...

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


More information about the flang-commits mailing list