================ @@ -312,4 +326,12 @@ LValue CIRGenFunction::emitLValue(const Expr *e) { } } +void CIRGenFunction::emitAndUpdateRetAlloca(QualType ty, mlir::Location loc, + CharUnits alignment) { + if (ty->isVoidType()) { + return; + } + ---------------- andykaylor wrote:
You should bring in the extra checks from the incubator for cases that are marked `llvm_unreachable("NYI");` but use cgm.errorNYI() instead. https://github.com/llvm/llvm-project/pull/129933 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits