Lunderberg opened a new pull request, #14570: URL: https://github.com/apache/tvm/pull/14570
TIR has type-annotations on variables, but not on each PrimExpr. Because some versions of LLVM (before LLVM 15) default to using typed pointers, passing LLVM validation may require correct pointer types. This is typically encountered in unpacking of PackedFunc arguments, where the LLVM type of a data array must be cast from `i8*` to a pointer to the buffer type. These pointer-to-pointer casts are not expressible in TIR, because the `tir::CastNode` represents all pointers as `DataType::Handle()`, and so must be handled during codegen instead of earlier in the lowering flow. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
