Often switches share a compare register. This is the case when the source code shares the same variable for multiple switches. For example, in CTS math_brute_force/pow test:
size_t parity = ...
...
switch( parity )
{
case 1:
...
case 0:
...
}
...
switch( parity )
{
case 0:
...
case 1:
...
}The virtual register representing the parity variable cannot be used for differentiating between switches (as it was done before).
This change removes this mapping of case values + target machine basic blocks to concrete switch compare registers.