1 Commits

Author SHA1 Message Date
XChy
2fba4694d0
[DFAJumpThreading] Don't thread switch without multiple successors (#71060)
Fixes #56882.
Fixes #60254.

When switch has only one successor, it make no sense to thread it. And
computing the cost of it brings div-by-zero exception. We prevent it in
this patch.
2023-11-02 22:22:45 +08:00