[all-commits] [llvm/llvm-project] c3f8c3: [mlir][debug] Inherit DISubprogramAttr from DILoca...

Abid Qadeer via All-commits all-commits at lists.llvm.org
Tue Sep 2 06:24:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3f8c340d7b6aef7d9bf7facccfe34dc8a353332
      https://github.com/llvm/llvm-project/commit/c3f8c340d7b6aef7d9bf7facccfe34dc8a353332
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2025-09-02 (Tue, 02 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [mlir][debug] Inherit DISubprogramAttr from DILocalScopeAttr. (#156081)

As mentioned in https://github.com/llvm/llvm-project/pull/154926,
`DISubprogramAttr` is inherited from `DIScopeAttr` while in llvm, the
`DISubprogram` inherits from `DILocalScope`. This change corrects the
hierarchy.

Also does the same change for `DILexicalBlockAttr` and `DILexicalBlockFileAttr`.



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