Skip to content

Commit df05775

Browse files
committed
Add fixme for future work on Ne-Not pair
1 parent 04bb561 commit df05775

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_mir/src/transform/instcombine.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ impl OptimizationFinder<'b, 'tcx> {
275275
rustc_middle::mir::StatementKind::Assign(box (l, r)) => {
276276
if *l == place {
277277
match r {
278+
// FIXME(simonvandel): extend for Ne-Not pair
278279
Rvalue::BinaryOp(BinOp::Eq, op1, op2) => {
279280
// We need to make sure that the StorageDeads we saw are for
280281
// either `op1`or `op2` of Eq. Else we bail the optimization.

0 commit comments

Comments
 (0)