[all-commits] [llvm/llvm-project] b43074: [ModuleUtils] Handle globals_ctors/dtors with non-...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 21 08:19:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4307437e51d3a400de21de624a1610aee23346b
      https://github.com/llvm/llvm-project/commit/b4307437e51d3a400de21de624a1610aee23346b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/ModuleUtils.cpp
    A llvm/test/Transforms/LowerGlobalDestructors/non-literal-type.ll

  Log Message:
  -----------
  [ModuleUtils] Handle globals_ctors/dtors with non-literal type (PR56809)

If the global already exists, use its existing type, so we don't
try to mix literal and non-literal structs among the elements.

Fixes https://github.com/llvm/llvm-project/issues/56809.




More information about the All-commits mailing list