]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/transform/const_prop.rs
note LLVM in fixme
[rust.git] / src / librustc_mir / transform / const_prop.rs
index 44c68abd249880979b67a6c95e090227b55fd95e..2fa2167d5f896756af6fe7ee949ebd1a62912310 100644 (file)
@@ -1112,7 +1112,7 @@ fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
             }
             TerminatorKind::SwitchInt { ref mut discr, .. } => {
                 // FIXME: This is currently redundant with `visit_operand`, but sadly
-                // always visiting operands currently causes a perf regression, so
+                // always visiting operands currently causes a perf regression in LLVM codegen, so
                 // `visit_operand` currently only runs for propagates places for `mir_opt_level=3`.
                 self.propagate_operand(discr, location)
             }