I am trying to move towards much more space-efficient switch statements, using popcnt, as described in PR39013. This is the first in a series.
Also add baseline tests to show effect of later patches.
The previous version of this patch series: D61150
Why the addition of -O3 here? Generally tests in test/SimplifyCFG should use only -simplifycfg.