[Mlir-commits] [clang] [flang] [mlir] [Flang][Driver]Implemented the support for option -f[no-]optimize-sibling-calls in Flang (PR #216650)

Tarun Prabhu llvmlistbot at llvm.org
Mon Aug 17 19:55:55 PDT 2026


================
@@ -367,6 +367,10 @@ void Flang::addCodegenOptions(const ArgList &Args,
        options::OPT_funroll_loops, options::OPT_fno_unroll_loops,
        options::OPT_relaxed_c_loc});
 
+  if (Arg *A = Args.getLastArg(options::OPT_foptimize_sibling_calls,
----------------
tarunprabhu wrote:

In general, we should only be passing one of these flags to the compiler. Specifically, we should only pass the non-default flag.

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


More information about the Mlir-commits mailing list