diff --git a/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td b/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td --- a/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td +++ b/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td @@ -1341,7 +1341,7 @@ Region *getCallableRegion() { return &getBody(); } /// Returns the callable result type, which is the function return type. - ArrayRef getCallableResults() { return getFunctionType().getReturnType(); } + ArrayRef getCallableResults() { return getFunctionType().getReturnTypes(); } }];