[clang] [flang] [flang] Added driver options for arrays repacking. (PR #134002)

Tom Eccles via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 2 02:52:48 PDT 2025


================
@@ -1687,6 +1700,7 @@ void CompilerInvocation::setLoweringOptions() {
   const Fortran::common::LangOptions &langOptions = getLangOpts();
   loweringOpts.setIntegerWrapAround(langOptions.getSignedOverflowBehavior() ==
                                     Fortran::common::LangOptions::SOB_Defined);
+  loweringOpts.setStackArrays(codegenOpts.StackArrays);
----------------
tblah wrote:

Not for this PR but it doesn't look right to me that stack arrays is in both lowering and codegen opts

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


More information about the cfe-commits mailing list