commit | 4045e779957680e11818863140d4bbc81f9d7f2a | [log] [tgz] |
---|---|---|
author | Groverkss <groverkss@gmail.com> | Tue Nov 23 02:48:03 2021 +0530 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 22 13:30:57 2021 -0800 |
tree | d205004dacda992ac0ab99bb346aa6e1b70537f7 | |
parent | 1d12c48d7191e2b7300bde9ab8bb07c4ae535e28 [diff] |
[MLIR] Fix incorrect removal of source loop in loop fusion This patch fixes a bug in loop fusion pass where the source loop was removed even when the fused loop did not cover all iterations of the source loop. This was because the fast hueristic check for checking if source loop and fused loop have same iterations did not take into account steps in loop. Reviewed By: dcaballe, bondhugula Differential Revision: https://reviews.llvm.org/D114164 GitOrigin-RevId: 98daa4e425b02a0c27d53992e80510bda65809c5
See https://mlir.llvm.org/ for more information.