Only do switch-to-lookup table transformation when TargetTransformInfo