diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2025-04-08 17:45:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-08 17:45:54 +0100 |
commit | e3d114ceb86782553e8f244975441e5934b35b82 (patch) | |
tree | 4a6f91e4996d26e61e446239e7c0a44f247952ab /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 46d4c3b1f64dfbca2a029ff30434aaa5248fc190 (diff) | |
download | llvm-e3d114ceb86782553e8f244975441e5934b35b82.zip llvm-e3d114ceb86782553e8f244975441e5934b35b82.tar.gz llvm-e3d114ceb86782553e8f244975441e5934b35b82.tar.bz2 |
[DebugInfo][Reassociate] Propagate source loc when negating mul factor (#134679)
As part of RemoveFactorFromExpression, we attempt to remove a factor
from a mul/fmul expression; this may involve generating new
instructions, e.g. to negate the result if the factor was negative in
the original expression. When this happens, the new instructions should
have a DebugLoc set from the instruction that the factored expression is
being used to compute.
Found using https://github.com/llvm/llvm-project/pull/107279.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions