dbakunevich
dbakunevich
[More information from my researc](https://user-images.githubusercontent.com/95090426/143762661-86ed080b-527e-4771-91d5-5f9d97933d01.gz)
Summary: we removed one BB and after 1 iteration we created it.
Investigated this bug and found out that there is a looping of the form: 1-st Iteration: br i1 undef, label %zero.critedge, label %bci_89.us589.preheader.split ---> br i1 undef, label %zero, label...
This issue was closed due to not being replayable in clang with the assertion trunk.
If we replace true in bb10 with undef, then the bug disappears. As part of the codegenprepare optimization, an attempt is made to merge bb6 and bb10, as a result...
Fix of this bug: https://reviews.llvm.org/D134427
Link on fix commit: https://github.com/llvm/llvm-project/commit/fecfd012523f963666caeb7e65cca3cd0ec1c159
I would like to retain my commit rights