[all-commits] [llvm/llvm-project] 54d3cf: [MLIR][LLVM] Fix nameless global import to support...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Thu Oct 10 01:33:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54d3cf14213f18e44ef9ed2ffe3b3131e472e2f5
      https://github.com/llvm/llvm-project/commit/54d3cf14213f18e44ef9ed2ffe3b3131e472e2f5
  Author: Christian Ulmann <christianulmann at gmail.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Target/LLVMIR/Import/global-variables.ll

  Log Message:
  -----------
  [MLIR][LLVM] Fix nameless global import to support use before def case (#111797)

This commit fixes a bug in the import of nameless globals. Before this
change, the fake symbol names were only generated during the
transformation of the definition. This caused issues when the symbol was
used before it was defined.



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