[all-commits] [llvm/llvm-project] 2b089e: [SimplifyCFG] Try to merge edge block when threadi...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jun 20 01:29:48 PDT 2022
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-06-20 (Mon, 20 Jun 2022)
[SimplifyCFG] Try to merge edge block when threading (PR55765)
When threading, we always create a new block for the threaded edge
(even if the edge is not critical), which will later get folded back
into the predecessor if possible. Depending on precise processing
order, this separate block may break the detection of trivial
cycles in the threading code, which normally avoids infinite
threading of loops. Explicitly merge the created edge block into
the predecessor to avoid this.
Differential Revision: https://reviews.llvm.org/D127216
More information about the All-commits