Skip to content

Commit

Permalink
Rename InstCombine to InstSimplify (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin authored May 11, 2023
1 parent 5f48c75 commit 9d8c600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mir/optimizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ needed for correctness), then fuel should not be used. An example of this is `Pr
perform optimizations. In these situations, we should allow for the initial gathering pass
and then check fuel as close to the mutation as possible. This allows for the best
debugging experience, because we can determine where in the list of candidates an optimization
may have been misapplied. Examples of this are `InstCombine` and `ConstantPropagation`.
may have been misapplied. Examples of this are `InstSimplify` and `ConstantPropagation`.

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

0 comments on commit 9d8c600

Please sign in to comment.