[all-commits] [llvm/llvm-project] d6bb78: [DebugInfo] Propagate source loc from invoke to re...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Thu Apr 24 10:59:50 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/SimplifyCFG/X86/debugloc-invoke-to-call-br.ll

  Log Message:
  -----------
  [DebugInfo] Propagate source loc from invoke to replacement branch (#137206)

An existing transformation replaces invoke instructions with a call to
the invoked function and a branch to the destination; when this happens,
we propagate the invoke's source location to the call but not to the
branch. This patch updates this behaviour to propagate to the branch as
well.

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