diff options
author | Groverkss <groverkss@gmail.com> | 2021-11-23 02:48:03 +0530 |
---|---|---|
committer | Groverkss <groverkss@gmail.com> | 2021-11-23 02:54:09 +0530 |
commit | 98daa4e425b02a0c27d53992e80510bda65809c5 (patch) | |
tree | 85fca7f1d9b38657b7151fef61785061575b7800 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 2975f37d8d4ffb8fd2b0950d6851c5fab93b4a19 (diff) | |
download | llvm-98daa4e425b02a0c27d53992e80510bda65809c5.zip llvm-98daa4e425b02a0c27d53992e80510bda65809c5.tar.gz llvm-98daa4e425b02a0c27d53992e80510bda65809c5.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions