[all-commits] [llvm/llvm-project] 84fde7: [Reassociate] Apply Debugloc to instrs produced wh...
Stephen Tozer via All-commits
all-commits at lists.llvm.org
Tue Apr 8 09:02:39 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 84fde791a1f285dec7ef0ec4803c5174f182df57
https://github.com/llvm/llvm-project/commit/84fde791a1f285dec7ef0ec4803c5174f182df57
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2025-04-08 (Tue, 08 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
A llvm/test/Transforms/Reassociate/debugloc-reass-add.ll
Log Message:
-----------
[Reassociate] Apply Debugloc to instrs produced when optimizing add (#134676)
Currently in Reassociate we may create a set of new instructions when
optimizing an `add`, but we do not set DebugLocs on the new
instructions; this patch propagates the add's DebugLoc to the new
instructions.
Found using #107279.
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