[mlir][llvm] Don't return a dangling reference in getCallableResults().
Use the `getReturnTypes()` API (which returns an `ArrayRef<Type>`) rather than the `getReturnType()` API (which returns a `Type`) to avoid returning a dangling reference in `LLVMFuncOp::getCallableResults()`. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D136669
Loading
Please sign in to comment