commit | e9e7973deccc5a962645f90d104dc2d7481834fd | [log] [tgz] |
---|---|---|
author | MaheshRavishankar <ravishankarm@google.com> | Thu Nov 18 09:27:27 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Nov 18 09:31:09 2021 -0800 |
tree | 55f356c2c3de9cf913d4474f4f246d54d9db976f | |
parent | 80115b3eb9a8e7ba32e837891e2667a2eb587669 [diff] |
[mlir][Linalg] Do not return failure when all tile sizes are zero. Returning failure when tile sizes are all zero prevents the change in the marker. This makes pattern rewriter run the pattern multiple times only to exit when it hits a limit. Instead just clone the operation (since tiling is essentially cloning in this case). Then the transformation filter kicks in to avoid the pattern rewriter to be invoked many times. Differential Revision: https://reviews.llvm.org/D113949 GitOrigin-RevId: 526dfe3f4d33eea3d32cd8730e5dcbc1b9010d3f
See https://mlir.llvm.org/ for more information.