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().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo