================ @@ -651,6 +651,50 @@ mlir::LogicalResult CIRToLLVMReturnOpLowering::matchAndRewrite( return mlir::LogicalResult::success(); } +static mlir::LogicalResult +rewriteCallOrInvoke(mlir::Operation *op, mlir::ValueRange callOperands, + mlir::ConversionPatternRewriter &rewriter, + const mlir::TypeConverter *converter, + mlir::FlatSymbolRefAttr calleeAttr) { + llvm::SmallVector<mlir::Type, 8> llvmResults; + auto cirResults = op->getResultTypes(); ---------------- andykaylor wrote:
```suggestion llvm::ArrayRef<mlir::Type> cirResults = op->getResultTypes(); ``` https://github.com/llvm/llvm-project/pull/138873 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits