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
Revert hunk in this file.