================
@@ -561,7 +558,6 @@ cir::FuncOp CIRGenFunction::generateCode(clang::GlobalDecl
gd, cir::FuncOp fn,
emitImplicitAssignmentOperatorBody(args);
} else if (body) {
if (mlir::failed(emitFunctionBody(body))) {
- fn.erase();
----------------
bcardosolopes wrote:
Gotcha! Not sure I remember what a good reason might have been, and I'm fine
with removing this. Thanks for giving the extra background, hard to grasp
otherwise.
https://github.com/llvm/llvm-project/pull/153677
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits