================
@@ -376,6 +376,12 @@ static void 
parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
   if (args.hasArg(clang::options::OPT_finstrument_functions))
     opts.InstrumentFunctions = 1;
 
+  if (const llvm::opt::Arg *a =
+          args.getLastArg(clang::options::OPT_foptimize_sibling_calls,
+                          clang::options::OPT_fno_optimize_sibling_calls))
+    opts.DisableTailCalls =
+        a->getOption().matches(clang::options::OPT_fno_optimize_sibling_calls);
+
----------------
kaviya2510 wrote:

Thankyou for the reviews @vzakhari 

https://github.com/llvm/llvm-project/pull/216650
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to