Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d51d511

Browse files
authored
Rename InstCombine to InstSimplify (rust-lang#1684)
1 parent de22e55 commit d51d511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc-dev-guide/src/mir/optimizations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,6 @@ needed for correctness), then fuel should not be used. An example of this is `Pr
131131
perform optimizations. In these situations, we should allow for the initial gathering pass
132132
and then check fuel as close to the mutation as possible. This allows for the best
133133
debugging experience, because we can determine where in the list of candidates an optimization
134-
may have been misapplied. Examples of this are `InstCombine` and `ConstantPropagation`.
134+
may have been misapplied. Examples of this are `InstSimplify` and `ConstantPropagation`.
135135

136136
[consideroptimizing]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.consider_optimizing

0 commit comments

Comments
 (0)