dtcxzyw wrote: @KanRobert As there are some potential miscompilations/crashes caused by other passes after SimplifyCFGPass, should we limit this optimization to only run in the late pipeline via `SimplifyCFGOptions`? https://github.com/llvm/llvm-project/pull/96878