[flang-commits] [flang] [llvm] [LLVM-Flang] Improve the realloc size for the write statement (PR #187662)

Thirumalai Shaktivel via flang-commits flang-commits at lists.llvm.org
Fri Mar 20 03:40:36 PDT 2026


================
@@ -0,0 +1,25 @@
+! This test writes a large 4D array to an unformatted file using nested
+! implied DO constructs. The updated lowering aims to produce fewer
+! reallocations as the size increases geometrically when certain
+! threshold is reached
+
+! RUN: %flang -O3 -g %s -o %t && %t | FileCheck %s
----------------
Thirumalai-Shaktivel wrote:

@eugeneepshteyn, what kind of test could I add to this PR?

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


More information about the flang-commits mailing list