Files
rust/compiler/rustc_mir_transform/src
bors 880646ca9c Auto merge of #98872 - JakobDegen:no-invalidate, r=davidtwco
Add method to mutate MIR body without invalidating CFG caches.

In addition to adding this method, a handful of passes are updated to use it. There's still quite a few passes that could in principle make use of this as well, but do not at the moment because they use `VisitorMut` or `MirPatch`, which needs additional support for this.

The method name is slightly unwieldy, but I don't expect anyone to be writing it a lot, and at least it says what it does. If anyone has a suggestion for a better name though, would be happy to rename.

r? rust-lang/mir-opt
2022-07-05 04:04:04 +00:00
..
2022-05-09 18:40:18 +02:00
2022-04-27 08:51:33 +01:00
2022-07-02 21:40:33 +00:00
2021-12-02 17:31:38 -08:00
2022-05-02 17:40:30 -07:00
2022-04-16 18:44:27 -04:00
2022-02-15 16:03:24 +11:00