Files
clang-p2996/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
Stephen Tozer a6edaeb824 [DebugInfo][TailCallElim] Use ret DILocation for return value selects (#134825)
In TailRecursionElimination we may insert a select before the return to
choose the return value if necessary; this select is effectively part of
the return statement, and so should use its DILocation.

Found using https://github.com/llvm/llvm-project/pull/107279.
2025-04-09 12:48:59 +01:00

36 KiB