Re:&& operator chains (and ||, possibly) generates unoptimiz...
by PoignardAzur on Monday March 29, 2021 @05:42PM
(#26628552)
I think this should count as a bug in Rustc.
If your compiler generates IR that's just awful enough that it's a coin toss whether the backend can optimize it, whereas it can optimize the "naive" IR you'd write by hand, it's a compiler problem, not a backend problem.
If your compiler generates IR that's just awful enough that it's a coin toss whether the backend can optimize it, whereas it can optimize the "naive" IR you'd write by hand, it's a compiler problem, not a backend problem.