syang-ng opened a new issue #9406: URL: https://github.com/apache/tvm/issues/9406
I try to construct the `tir.Call` expression manually, but after I execute the `tvm.build`, the program crashes. ### Expected behavior Execute `tvm.build()` successfully. ### Actual behavior The program will crash if we construct the `tir.isnan` manually. And another interesting thing is that GDB can not print the whole backtraces, just like the image listed below:  ### Environment Ubuntu18.04, cmake 3.18.2, llvm 12, tested on latest git [4087e72](https://github.com/apache/tvm/commit/4087e72b657eae484bb647cbd8ef86b9acf11748) ### Steps to reproduce Here is the script to reproduce the bug: ```python import tvm v = tvm.tir.Var('v', 'float32') value = tvm.tir.isnan(v) op = value.op buf = tvm.tir.buffer.decl_buffer((1,)) value = tvm.tir.Call('int32', op, [0]) s = tvm.tir.Store(buf.data, value, 0) f = tvm.tir.PrimFunc({buf.data}, s) tvm.build(f) ``` -- 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]
