Kazu Hirata b2cd81c938
[IR] Simplify comparisons with std::optional (NFC) (#105624)
For variable X of type std::optional, X && X.value_or(Y) == Z is
equivalent to X == Z when Y != Z.
2024-08-22 10:19:56 -07:00
..
2024-07-25 09:19:22 -04:00