[all-commits] [llvm/llvm-project] 14e441: [MLIR][LLVM] Fix import of globals with references...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Oct 9 08:45:28 PDT 2024


  Branch: refs/heads/users/dinistro/fix-global-import
  Home:   https://github.com/llvm/llvm-project
  Commit: 14e4418572ff2f381f0ee3e6e90c08120bf7fad6
      https://github.com/llvm/llvm-project/commit/14e4418572ff2f381f0ee3e6e90c08120bf7fad6
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

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

  Log Message:
  -----------
  [MLIR][LLVM] Fix import of globals with references to other globals

This commit addresses an issue with importing globals that reference
other globals. This case did not properly work due to not considering
that `llvm::GlobalVariables` are derived from `llvm::Constant`.



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