[all-commits] [llvm/llvm-project] 22b49f: [mlir][llvm] Make DISubprogram name optional

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Mar 1 03:27:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22b49fccbbf11a41b76c44b7b8ba61b25a2d6308
      https://github.com/llvm/llvm-project/commit/22b49fccbbf11a41b76c44b7b8ba61b25a2d6308
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/test/Target/LLVMIR/Import/debug-info.ll

  Log Message:
  -----------
  [mlir][llvm] Make DISubprogram name optional

This commit make the name parameter of the DISubprogramAttr optional.
LLVM will for example omit these subprogram names in initialization
functions for globals.

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D145046




More information about the All-commits mailing list