[all-commits] [llvm/llvm-project] 4b6b2f: [NFC][SPIRV] Extract helper functions in SPIRVEmit...

Manuel Carrasco via All-commits all-commits at lists.llvm.org
Tue Feb 24 10:13:31 PST 2026


  Branch: refs/heads/users/mgcarrasco/spirv/debug-function-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b6b2f65b1ca34f30ad31aaa296c5a2db40b925f
      https://github.com/llvm/llvm-project/commit/4b6b2f65b1ca34f30ad31aaa296c5a2db40b925f
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitNonSemanticDI.cpp

  Log Message:
  -----------
  [NFC][SPIRV] Extract helper functions in SPIRVEmitNonSemanticDI

This commit extracts reusable helper functions to improve code
organization and reduce duplication. This is a pure refactoring
that does not change behavior.

These helpers will be used in subsequent commits to refactor
emitGlobalDI and add function-level debug info emission.


  Commit: bfd2f30c7a38b1afda6ba212898183fde4c11b03
      https://github.com/llvm/llvm-project/commit/bfd2f30c7a38b1afda6ba212898183fde4c11b03
  Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitNonSemanticDI.cpp

  Log Message:
  -----------
  [NFC][SPIRV] Refactor emitGlobalDI to use helpers and store CompileUnitRegMap

This commit refactors emitGlobalDI() to use the extracted helper
functions and adds CompileUnitRegMap to store DebugCompilationUnit
registers for later lookup by function-level debug info emission.

This prepares for function-level debug info emission which needs
to look up compile units.


Compare: https://github.com/llvm/llvm-project/compare/4b6b2f65b1ca%5E...bfd2f30c7a38

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