[clang] [Clang] Fix unnecessary extra return block emmited during function epilog after musttail call (PR #134282)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 3 12:12:53 PDT 2025


================
@@ -1491,7 +1491,10 @@ void CodeGenFunction::EmitComplexExprIntoLValue(const Expr *E, LValue dest,
          "Invalid complex expression to emit");
   ComplexExprEmitter Emitter(*this);
   ComplexPairTy Val = Emitter.Visit(const_cast<Expr*>(E));
-  Emitter.EmitStoreOfComplex(Val, dest, isInit);
+  // The insert point may be empty if we have just emmited a
----------------
efriedma-quic wrote:

```suggestion
  // The insert point may be empty if we have just emitted a
```

https://github.com/llvm/llvm-project/pull/134282


More information about the cfe-commits mailing list