We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bb561 commit df05775Copy full SHA for df05775
compiler/rustc_mir/src/transform/instcombine.rs
@@ -275,6 +275,7 @@ impl OptimizationFinder<'b, 'tcx> {
275
rustc_middle::mir::StatementKind::Assign(box (l, r)) => {
276
if *l == place {
277
match r {
278
+ // FIXME(simonvandel): extend for Ne-Not pair
279
Rvalue::BinaryOp(BinOp::Eq, op1, op2) => {
280
// We need to make sure that the StorageDeads we saw are for
281
// either `op1`or `op2` of Eq. Else we bail the optimization.
0 commit comments