aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorGuray Ozen <guray.ozen@gmail.com>2022-12-02 16:34:58 +0100
committerGuray Ozen <guray.ozen@gmail.com>2022-12-05 12:57:20 +0100
commit12cc8e7310474c2b3231e4ebba8e555e31cd3eaf (patch)
tree3fd42a290f6cce1805788424ebc78bff55fe8376 /llvm/lib/CodeGen/CodeGen.cpp
parentb0f78769178ebb5e0691aca5143fead7f79ee55c (diff)
downloadllvm-12cc8e7310474c2b3231e4ebba8e555e31cd3eaf.zip
llvm-12cc8e7310474c2b3231e4ebba8e555e31cd3eaf.tar.gz
llvm-12cc8e7310474c2b3231e4ebba8e555e31cd3eaf.tar.bz2
[mlir] Fix infinite loop in collapse
Incrementing `counter` variable is inside the if statement. If the code does not enter there, the while loop will iterate infinitely. This revision moves the codes outside of if statement. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D139005
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions