rust/compiler/rustc_mir
bors d45d205d59 Auto merge of #86107 - Smittyvb:peephole-optim-eq-bool, r=wesleywiser
Peephole optimize `x == false` and `x != true`

This adds peephole optimizations to make `x == false`, `false == x`, `x != true`, and `true != x` get optimized to `!x` in the `instcombine` MIR pass. That pass currently handles `x == true` -> `x` already.
2021-06-09 06:06:06 +00:00
..
src Auto merge of #86107 - Smittyvb:peephole-optim-eq-bool, r=wesleywiser 2021-06-09 06:06:06 +00:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00