Skip to content
Unverified Commit 2fba4694 authored by XChy's avatar XChy Committed by GitHub
Browse files

[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.
parent 23ad865e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment