[clang] [CIR] Upstream emitAndUpdateRetAlloca (PR #129933)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 5 15:02:19 PST 2025
================
@@ -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
More information about the cfe-commits
mailing list