syang-ng opened a new issue #8979: URL: https://github.com/apache/tvm/issues/8979
This issue is related to the problem mentioned in [discussion](https://discuss.tvm.apache.org/t/operators-will-crash-when-receiving-null-object/10988). Besides operators, I also found other TIR related functions will crash when receiving NULL object. To enhance the robustness of TVM, I log all these functions as a test case. I hope it can help TVM to fix this series of problems. ```python import tvm # tir.analysis tvm.tir.analysis.calculate_workspace_bytes(None, None) tvm.tir.analysis.detect_buffer_access_lca(None) tvm.tir.analysis.get_block_access_region(None, None) tvm.tir.analysis.get_block_read_write_region(None, None) tvm.tir.analysis.verify_gpu_code(None, None) tvm.tir.analysis.verify_memory(None) tvm.tir.analysis.verify_ssa(None) tvm.tir.analysis.BufferRegion(None, None) # tir.expr tvm.tir.expr.BufferLoad(None, None, None) tvm.tir.expr.Call(None, None, None, None) tvm.tir.expr.ProducerLoad(None, None, None) # tir.generic tvm.tir.generic.add(None, None, None) tvm.tir.generic.cast(None, None, None) tvm.tir.generic.divide(None, None, None) tvm.tir.generic.floordiv(None, None, None) tvm.tir.generic.multiply(None, None, None) tvm.tir.generic.subtract(None, None, None) # tir.op tvm.tir.op.abs(None, None) tvm.tir.op.ceil(None, None) tvm.tir.op.clz(None) tvm.tir.op.div(None, None, None) tvm.tir.op.floor(None, None) tvm.tir.op.floordiv(None, None, None) tvm.tir.op.floormod(None, None, None) tvm.tir.op.if_then_else(None, None, None, None) tvm.tir.op.indexdiv(None, None, None) tvm.tir.op.indexmod(None, None, None) tvm.tir.op.isfinite(None, None) tvm.tir.op.isinf(None, None) tvm.tir.op.isnan(None, None) tvm.tir.op.nearbyint(None, None) tvm.tir.op.power(None, None, None) tvm.tir.op.q_multiply_shift(None, None, None, None) tvm.tir.op.reducer(None, None, None, None) tvm.tir.op.round(None, None) tvm.tir.op.trunc(None, None) tvm.tir.op.truncdiv(None, None, None) tvm.tir.op.truncmod(None, None, None) tvm.tir.op.Call(None, None, None, None) # tir.stmt_functor tvm.tir.stmt_functor.ir_transform(None, None, None, None) tvm.tir.stmt_functor.post_order_visit(None, None) tvm.tir.stmt_functor.substitute(None, None) tvm.tir.stmt.Allocate(None, None, None, None, None, None) tvm.tir.stmt.BlockRealize(None, None, None, None) tvm.tir.stmt.BufferRegion(None, None) tvm.tir.stmt.MatchBufferRegion(None, None) ``` -- 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]
