Do simple constant propagation in lookup table formation for switches