Simplify A == B == constant
conditionals
#6307
Labels
Core: HLIL
Issue involves High Level IL
Effort: Trivial
Issue should take < 1 day
IL Optimization
Issue involving optimization of representation (not correctness)
Impact: Medium
Issue is impactful with a bad, or no, workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
We currently do not simplify the case of Comparison with the result of a comparison. This is a straightforward optimization:
A cond B == 1 => A cond B
A cond B == 0 => A !cond B
A cond B == !(0|1) => False
The text was updated successfully, but these errors were encountered: