Files
rust/compiler
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
..
2021-04-04 14:10:26 -07:00
2021-05-24 11:07:48 -04:00
2021-03-27 22:16:33 -04:00
2021-06-01 20:53:04 +02:00
2021-06-04 08:05:54 -04:00
2021-05-24 11:07:48 -04:00
2021-05-24 11:07:48 -04:00
2021-06-04 13:20:05 +02:00
2021-06-07 14:20:39 +02:00
2021-03-27 22:16:33 -04:00
2021-05-24 11:07:48 -04:00
2021-05-31 13:55:43 +02:00
2021-05-24 11:07:48 -04:00
2021-05-31 13:55:43 +02:00