llvm-project/llvm/lib/Transforms/AggressiveInstCombine
Stephen Tozer 19ee7ffdac
[AggrInstCombine][DebugInfo] Propagate DILocation for inlined memchr (#134808)
When AggressiveInstCombine replaces a memchr with a switch instruction,
it currently drops the DILocation for that memchr. This patch changes
this, propagating the memchr DILocation to all the generated
instructions that replace it.

Found using https://github.com/llvm/llvm-project/pull/107279.
2025-04-08 18:54:35 +01:00
..