[all-commits] [llvm/llvm-project] eab629: [MLIR][LLVM] Support nameless and scopeless global...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Dec 13 01:48:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eab62971cda97bd0f9d66944ef295946c291563f
      https://github.com/llvm/llvm-project/commit/eab62971cda97bd0f9d66944ef295946c291563f
  Author: Christian Ulmann <christianulmann at gmail.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/lib/Target/LLVMIR/DebugImporter.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/Import/global-variables.ll
    M mlir/test/Target/LLVMIR/llvmir-debug.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Support nameless and scopeless global constants (#75307)

This commit ensures that we model DI information for global constants
correctly. These constructs can lack scopes, names, and linkage names,
so these parameters were made optional for the DIGlobalVariable
attribute.




More information about the All-commits mailing list