[llvm] [SimplifyCFG] Simplify conditional branches on const icmp eq's (PR #73334)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 24 12:12:13 PST 2023


yonillasky wrote:

The scenario that prompted me to make the change was that in CoroCleanup it explicitly makes a SimplifyCFG call on all affected coroutines, I saw it fail to fully optimize the CFG in a certain scenario.

Should it expect that InstCombine / SimplifyCFG will run afterwards and fix whatever problems remain? I thought the simplify being there meant that the coro pipeline was expected to output "cleaned up" code already -- there are very few passes after it... but honestly I'm not that familiar with all the various pipelines and pass schedules that LLVM has.

https://github.com/llvm/llvm-project/pull/73334


More information about the llvm-commits mailing list