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

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Fri Mar 20 03:43:57 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
----------------
eugeneepshteyn wrote:

For changes only visible at execution time, you wouldn't add a test here. You would create a PR in llvm-test-suite and mention it in the description of this PR.

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


More information about the flang-commits mailing list