================ @@ -773,6 +773,58 @@ cir::FuncOp CIRGenModule::getOrCreateCIRFunction( StringRef mangledName, mlir::Type funcType, GlobalDecl gd, bool forVTable, bool dontDefer, bool isThunk, ForDefinition_t isForDefinition, mlir::ArrayAttr extraAttrs) { + const Decl *d = gd.getDecl(); + + if (isThunk) + errorNYI(d->getSourceRange(), "getOrCreateCIRFunction: thunk"); + + // In what follows, we continue past 'errorNYI' as if nothing happened because + // the rest of the implementation is better than doing nothing. + + // Any attempts to use a MultiVersion function should result in retrieving the ---------------- erichkeane wrote:
Is this comment out of place? Looks like it should be with the actual multiversion stuff on 793. https://github.com/llvm/llvm-project/pull/137271 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits