Unverified Commit 37b72076 authored by Allen's avatar Allen Committed by GitHub
Browse files

[SimplifyCFG] Fix crash when there is unreachable large index (#88616)

The large case index out of scope is dead code, but it is still be
created for TableContents in SwitchLookupTable::SwitchLookupTable,
so make sure the table size after growing should not get smaller.

Fix https://github.com/llvm/llvm-project/issues/88607
parent 9c3475ac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment