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 603ab5b commit 307c608Copy full SHA for 307c608
compiler/rustc_mir/src/transform/instcombine.rs
@@ -81,7 +81,7 @@ impl<'tcx> MutVisitor<'tcx> for InstCombineVisitor<'tcx> {
81
*rvalue = Rvalue::Use(Operand::Copy(place));
82
}
83
84
- self.super_rvalue(rvalue, location)
+ // We do not call super_rvalue as we are not interested in any other parts of the tree
85
86
87
@@ -285,7 +285,7 @@ impl Visitor<'tcx> for OptimizationFinder<'b, 'tcx> {
285
286
self.find_unneeded_equality_comparison(rvalue, location);
287
288
289
290
291
0 commit comments