If the result of the condition inside the `if` is known at compile time, we should only code-gen the `then` or `else` clause.