[all-commits] [llvm/llvm-project] af82e1: [KeyInstr] Fully support mixed key/non-key inlinin...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon Jun 30 01:57:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af82e14c4a351227c50cb4db4fd3aeb2c99627ef
      https://github.com/llvm/llvm-project/commit/af82e14c4a351227c50cb4db4fd3aeb2c99627ef
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-06-30 (Mon, 30 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/KeyInstructions/X86/dwarf-inline-modes.mir

  Log Message:
  -----------
  [KeyInstr] Fully support mixed key/non-key inlining modes (#144103)

Patch 3/4 adding bitcode support, though the final patch doesn't depend on this
one.

Prior to this patch, a Key Instructions function inlined into a
Not-Key-Instructions function fell back to Not-Key-Instructions handling.

In order to fully support inlining mixed modes we need to run
`computeKeyInstructions` (in case there's a Key Instructions scope) and
`findForceIsStmtInstrs` (in case there's a Not-Key-Instructions scope) on all
functions. This has a slight performance cost for all configurations - see PR
for details.



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