[all-commits] [llvm/llvm-project] 9344b2: [DebugInfo][Inlining] Propagate inlined `resume` s...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Wed Apr 9 08:42:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9344b2196cbc36cdc577314bbb2b889606ba6820
      https://github.com/llvm/llvm-project/commit/9344b2196cbc36cdc577314bbb2b889606ba6820
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Transforms/Inline/X86/inline-landing-pad.ll

  Log Message:
  -----------
  [DebugInfo][Inlining] Propagate inlined `resume` source loc to new br (#134826)

As part of inlining an invoke instruction, we may replace an inlined
resume instruction with a simple branch to the landing pad block. When
this happens, we should also propagate the resume's DILocation to this
branch, which this patch enables.

Found using https://github.com/llvm/llvm-project/pull/107279.



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