arun-thmn wrote: > What happens if there isn't a write? For no `writes` the `CSE` should optimize the `amx.tile_zero` as we added memory effect only to `MemWrites` https://github.com/llvm/llvm-project/pull/155403