[flang-commits] [clang] [flang] [flang] Implement -mcmodel flag (PR #95411)
Mats Petersson via flang-commits
flang-commits at lists.llvm.org
Mon Jul 1 08:26:01 PDT 2024
================
@@ -2823,3 +2823,84 @@ void tools::addOffloadCompressArgs(const llvm::opt::ArgList &TCArgs,
CmdArgs.push_back(
TCArgs.MakeArgString(Twine("-compression-level=") + Arg->getValue()));
}
+
+void tools::addMCModel(const Driver &D, const llvm::opt::ArgList &Args,
----------------
Leporacanthicus wrote:
Yes, it is a direct copy, aside from not using a "cached" TripleStr and instead calling getTriple() on the Triple. [I just compared the two versions].
https://github.com/llvm/llvm-project/pull/95411
More information about the flang-commits
mailing list