================ @@ -694,6 +694,16 @@ void tools::addLTOOptions(const ToolChain &ToolChain, const ArgList &Args, CmdArgs.push_back(Args.MakeArgString(Twine(PluginOptPrefix) + ParallelismOpt + Parallelism)); + // Pass down GlobalISel options. + if (Arg *A = Args.getLastArg(options::OPT_fglobal_isel, + options::OPT_fno_global_isel)) { + // Parsing -fno-global-isel explicitly gives architectures that enable GISel + // by default (e.g. AArch64) a chance to disable it. ---------------- MaskRay wrote:
"e.g. AArch64" in "architectures that enable GISel by default (e.g. AArch64)" is not accurate. It's the default for -O0 and not for some code models. Perhaps just omit the "e.g." part. https://github.com/llvm/llvm-project/pull/69747 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits