Files
clang-p2996/llvm/lib/Transforms/Utils/CloneFunction.cpp
Stephen Tozer 5039bf4e26 [DebugInfo][Inline] Propagate source locs when simplifying cond branches (#134827)
During inlining, we may opportunistically simplify conditional branches
(incl. switches) to unconditional branches if, after inlining, their
destination is fixed. While we do this, we should propagate any
DILocation attached to the original branch to the simplified branch,
which this patch enables.

Found using https://github.com/llvm/llvm-project/pull/107279.
2025-04-09 16:52:05 +01:00

49 KiB