[flang-commits] [clang] [flang] [flang] Add support for -finit-local-zero (PR #159788)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Mon Jul 27 07:29:03 PDT 2026
================
@@ -0,0 +1,7 @@
+! Check that the driver passes through -finit-local-zero:
+! RUN: %flang -### -S -finit-local-zero %s -o - 2>&1 | FileCheck %s
+
+! Check that the compiler accepts -finit-local-zero:
+! RUN: %flang_fc1 -emit-hlfir -finit-local-zero %s -o /dev/null
----------------
tarunprabhu wrote:
I think we can do without that test altogether. Since other tests explicitly use `-finit-local-zero` with `-fc1`, they will break if the visibility of `-finit-local-zero` changes. Being explicit during testing is generally good, but in this case, I think it's a redundant test.
https://github.com/llvm/llvm-project/pull/159788
More information about the flang-commits
mailing list