[llvm] [DebugInfo][InstCombine] When replacing bswap idiom, add DebugLoc to new insts (PR #114231)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 10:59:27 PST 2024
SLTozer wrote:
That's how I'm thinking about it, I just think the term "replace" is a bit tricky since by most appearances, the intermediate instructions are being replaced by the folded instruction. Also, the existing policy explicitly states that mul+add=>fma should use a merged location, so changing that at least is a change in policy.
https://github.com/llvm/llvm-project/pull/114231
More information about the llvm-commits
mailing list