[all-commits] [llvm/llvm-project] 2188a5: [DebugInfo][SimplifyCFG] Fully propagate merged in...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Fri Nov 15 09:21:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2188a56a752a886c43203d54b1079686b64ff49c
      https://github.com/llvm/llvm-project/commit/2188a56a752a886c43203d54b1079686b64ff49c
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    A llvm/test/Transforms/SimplifyCFG/dbgloc-merge-invoke.ll

  Log Message:
  -----------
  [DebugInfo][SimplifyCFG] Fully propagate merged invoke DILocations (#114235)

Currently when we merge invokes as part of SimplifyCFG we apply a merge
of the invoke DILocations to the merged invoke. We also insert an
unconditional branch to the merged invoke at the positions previously
occupied by the original invokes; as this branch is part of the
substitution for the invoke it has replaced, we should propagate the
original invoke DebugLoc to it.



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