blufissure opened a new issue, #14911:
URL: https://github.com/apache/tvm/issues/14911
Recently I found a bug that tvm didn't return the value when I conducted the
**isnullptr** function with **tir.call_intrin**. This problem happened when I
printed the returned value. It seems that the **tir.isnullptr** is designed for
the integer dtype and if we doesn't use the integer dtype, TVM will threw the
Trace/breakpoint trap error.
### Expected behavior
print and return zero
### Actual behavior
Trace/breakpoint trap error
### Environment
Ubuntu 18.04, TVM 0.11dev0
### Steps to reproduce
```
import tvm
from tvm import tir
a=tir.call_intrin('float32','tir.isnullptr',tir.const(18.0,'float32'))
f=tir.PrimFunc({},tir.Evaluate(tir.ret(a)))
mod=tvm.build(f)
print(mod())
```
### Triage
* needs-triage
--
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]