Bruno De Fraine discovered some issues with D85091. The branch weights generated for logical not and ternary conditional were wrong. The logical and and logical or differed from the code generated of __builtin_predict.
Adjusted the generated code for the likelihood to match __builtin_predict. The patch is based on Bruno's suggestions.
Why LH_None in this case? (Also, given that it's the default value, should you skip passing this at all? Or should the parameter not have a default value, perhaps?)