[all-commits] [llvm/llvm-project] bb38f2: [flang] zero initialized all saved values without ...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Sep 28 23:51:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb38f268e1dfba90654106a877ce971959ce79e6
      https://github.com/llvm/llvm-project/commit/bb38f268e1dfba90654106a877ce971959ce79e6
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/convert-to-llvm-invalid.fir
    M flang/test/Fir/convert-to-llvm.fir

  Log Message:
  -----------
  [flang] zero initialized all saved values without initial values (#67693)

This is not standard but is vastly expected by existing code.

This was implemented by https://reviews.llvm.org/D149877 for simple
scalars, but MLIR lacked a generic way to deal with aggregate types
(arrays and derived type).

Support was recently added in
https://github.com/llvm/llvm-project/pull/65508. Leverage it to zero
initialize all types.




More information about the All-commits mailing list