[TIR] Tighten up invariance of CopyOnWrite in recursive stmt visitor (#8358)
[TIR] Tighten up invariance of CopyOnWrite in recursive stmt visitor (#8358)


dmlc/tvm,dmlc/tvm,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,Laurawly/tvm-1,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1