[all-commits] [llvm/llvm-project] d2fe88: [KeyInstr] Don't propagate source atoms to new unc...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Thu May 8 06:26:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2fe8896766800a97462599fc7fb557c8d424fa4
https://github.com/llvm/llvm-project/commit/d2fe8896766800a97462599fc7fb557c8d424fa4
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-05-08 (Thu, 08 May 2025)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
Log Message:
-----------
[KeyInstr] Don't propagate source atoms to new uncond br in splitBasicBlock (#139070)
splitBasicBlock inserts an unconditional branch in the "before" block to
the "after" block. It copies the DebugLoc from the split point. Prevent
it copying the source location atom.
Add unittest.
RFC:
https://discourse.llvm.org/t/rfc-improving-is-stmt-placement-for-better-interactive-debugging/82668
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