[clang] [CIR] Upstream aggregate binary assign handling (PR #163877)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 17 10:00:16 PDT 2025
================
@@ -1869,8 +1870,7 @@ RValue CIRGenFunction::emitCallExpr(const clang::CallExpr *e,
/// Emit code to compute the specified expression, ignoring the result.
void CIRGenFunction::emitIgnoredExpr(const Expr *e) {
if (e->isPRValue()) {
- assert(!cir::MissingFeatures::aggValueSlot());
- emitAnyExpr(e);
+ emitAnyExpr(e, AggValueSlot::ignored(), true);
----------------
AmrDeveloper wrote:
```suggestion
emitAnyExpr(e, AggValueSlot::ignored(), /*ignoreResult=*/ true);
```
https://github.com/llvm/llvm-project/pull/163877
More information about the cfe-commits
mailing list