[clang] [Clang][CodeGen] Use EmitLoadOfLValue instead of EmitLoadOfScalar to get LHS for complex compound assignment (PR #166798)
Benjamin Stott via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 14 02:24:59 PST 2025
================
@@ -0,0 +1,10 @@
+// Reduced from https://github.com/llvm/llvm-project/issues/166512
+// RUN: %clang_cc1 %s -emit-obj -std=c23 -fsanitize=bool -o %t
----------------
BStott6 wrote:
If we're not testing for the assertion failure, this test might not be needed as the code generation is already checked by `complex-compound-assign-bitfield.c`. What do you think?
https://github.com/llvm/llvm-project/pull/166798
More information about the cfe-commits
mailing list