ita9naiwa wrote: Hi @hanhanW , I mostly addressed your review comments. canonicalization pattern works for Tensor and memref. I want to know how to track down all the patterns related to Tensor Pack/UnPack Ops https://github.com/llvm/llvm-project/pull/129036