[llvm-branch-commits] [clang] [KeyInstr] Complex assignment atoms (PR #134638)
Jeremy Morse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 21 10:18:24 PDT 2025
================
@@ -1356,6 +1361,7 @@ LValue ComplexExprEmitter::EmitBinAssignLValue(const BinaryOperator *E,
}
ComplexPairTy ComplexExprEmitter::VisitBinAssign(const BinaryOperator *E) {
+ ApplyAtomGroup Grp(CGF.getDebugInfo());
ComplexPairTy Val;
LValue LV = EmitBinAssignLValue(E, Val);
----------------
jmorse wrote:
Similarly, if we followed the pattern of the above hunk, we'd put ApplyAtomGroup into `EmitBinAssignLValue` instead. This one covers the load-of-lvalue at the end, wheras for compound assignments the equivalent wouldn't be covered.
https://github.com/llvm/llvm-project/pull/134638
More information about the llvm-branch-commits
mailing list