[all-commits] [llvm/llvm-project] 43cf32: [flang]Zero Initialize simple types
Mats Petersson via All-commits
all-commits at lists.llvm.org
Fri May 5 09:41:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 43cf32a1c021ab095426320a2e3c4abb5544e0ad
https://github.com/llvm/llvm-project/commit/43cf32a1c021ab095426320a2e3c4abb5544e0ad
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M flang/docs/Extensions.md
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/test/Lower/target_definition.f90
Log Message:
-----------
[flang]Zero Initialize simple types
Instead of filling uninitialized global variables with "undef",
initialize them with 0. Only for Integer, Float or Logical type
variables. Complex, user defined data structures, arrays, etc
are not supported at this point.
This patch fixes the main problem of
https://github.com/llvm/llvm-project/issues/62432
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D149877
More information about the All-commits
mailing list