[all-commits] [llvm/llvm-project] 0ae1f0: [flang] Rely on global initialization for simpler...

NimishMishra via All-commits all-commits at lists.llvm.org
Wed Mar 5 05:45:14 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ae1f0a31062f2447c04ec99ec0933cd71c21224
      https://github.com/llvm/llvm-project/commit/0ae1f0a31062f2447c04ec99ec0933cd71c21224
  Author: NimishMishra <42909663+NimishMishra at users.noreply.github.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/test/Lower/HLFIR/structure-constructor.f90
    M flang/test/Lower/OpenMP/private-derived-type.f90
    M flang/test/Lower/default-initialization.f90
    M flang/test/Lower/derived-type-finalization.f90
    M flang/test/Lower/derived-type-temp.f90
    M flang/test/Lower/forall/forall-allocatable-2.f90
    M flang/test/Lower/pointer-default-init.f90

  Log Message:
  -----------
   [flang] Rely on global initialization for simpler derived types (#114002)

Currently, all derived types are initialized through `_FortranAInitialize`, which is functionally correct, but bears poor runtime performance. This patch falls back on global initialization for "simpler" derived types to speed up the initialization.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list