diff options
| author | bors <bors@rust-lang.org> | 2022-07-05 04:04:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-05 04:04:04 +0000 |
| commit | 880646ca9c6dc21e04efe2f1940369a45b71ff2d (patch) | |
| tree | 2204b1ade34eadd7d762606d190f7a194aeaa27b /compiler/rustc_codegen_llvm/src | |
| parent | 4008dd8c6d92a0b81528fd138c6130d784e5958e (diff) | |
| parent | 26d153ac67ac4ed9767177617b3e5591590b3aa2 (diff) | |
| download | rust-880646ca9c6dc21e04efe2f1940369a45b71ff2d.tar.gz rust-880646ca9c6dc21e04efe2f1940369a45b71ff2d.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
