summaryrefslogtreecommitdiff
path: root/mlir/test/python/lib/PythonTestCAPI.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2021-10-25 16:43:11 +0700
committerMax Kazantsev <mkazantsev@azul.com>2021-10-25 17:10:17 +0700
commita9b0776a81e84d8042716863842fe1f8adf39cad (patch)
tree26a83f2b3e50fc0d7b90b49ce448cbe80b7501f2 /mlir/test/python/lib/PythonTestCAPI.cpp
parente6df79575980414709b468ef67f5878e9ac8a2ce (diff)
[SimplifyCFG] Sanity assert in iterativelySimplifyCFG
We observe a hang within iterativelySimplifyCFG due to infinite loop execution. Currently, there is no limit to this loop, so in case of bug it just works forever. This patch adds an assert that will break it after 1000 iterations if it didn't converge.
Diffstat (limited to 'mlir/test/python/lib/PythonTestCAPI.cpp')
0 files changed, 0 insertions, 0 deletions