We encountered a bug where using T.address_of results in memory being erroneously reused and tracked it down to a bug in src/tir/transforms/storage_rewrite.cc where only the buffer index expressions are visited, and not the buffer itself. @csullivan has a fix (tlc-pack/relax@c029f74) but it needs tests and to be upstreamed.
cc: @kparzysz-quic
cc @Hzfengsy @junrushao @quic-sanirudh @shingjan