We have TVM_DLL bool HasSideEffect(const Expr& e)
in ir_pass.h
In its implementation, it only checks if there’s a non-pure Call
op exist in the Expr
My question is, is that the only case of side effect?
I think Load
may introduce side effect, which may cause some memory access error.