[all-commits] [llvm/llvm-project] a9b077: [SimplifyCFG] Sanity assert in iterativelySimplifyCFG
Max Kazantsev via All-commits
all-commits at lists.llvm.org
Mon Oct 25 03:10:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a9b0776a81e84d8042716863842fe1f8adf39cad
https://github.com/llvm/llvm-project/commit/a9b0776a81e84d8042716863842fe1f8adf39cad
Author: Max Kazantsev <mkazantsev at azul.com>
Date: 2021-10-25 (Mon, 25 Oct 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list