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

Christian Ulmann via All-commits all-commits at lists.llvm.org
Thu Oct 10 00:11:51 PDT 2024


  Branch: refs/heads/users/dinistro/fix-nameless-global-import
  Home:   https://github.com/llvm/llvm-project
  Commit: 3959cc948cbdb5e4e5b803aa586ef0b0ffea7c78
      https://github.com/llvm/llvm-project/commit/3959cc948cbdb5e4e5b803aa586ef0b0ffea7c78
  Author: Christian Ulmann <christian.ulmann at nextsilicon.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

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