`isConstant` used is quite often and should be as lightweight as possible. Add `APInt::isInverseOf` and utilize it for `isConstant`. It is equivalent to `LHS == ~RHS`, but avoids intermediate allocations.
102 KiB
102 KiB