Commit 3800b157 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

[SimplifyCFG] Share code to compute switch density between...

[SimplifyCFG] Share code to compute switch density between ShouldBuildLookupTable() and ReduceSwitchRange()

They're computing the same thing. No functionality change.

Differential revision: https://reviews.llvm.org/D127482
parent 38637ee4
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