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.