diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-03 15:01:46 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-03 15:18:30 +1000 |
| commit | 5410900aaa54a20276a71b39b126d2a4c0ce8493 (patch) | |
| tree | f83326cca1a066db3fe95b7a59199a71095259d1 /compiler/rustc_mir_transform/src/instsimplify.rs | |
| parent | bd53aa3bf7a24a70d763182303bd75e5fc51a9af (diff) | |
| download | rust-5410900aaa54a20276a71b39b126d2a4c0ce8493.tar.gz rust-5410900aaa54a20276a71b39b126d2a4c0ce8493.zip | |
Adjust `SanityCheck`.
The actual implementation remains in `rustc_mir_dataflow`, but this commit moves the `MirPass` impl to `rustc_mir_transform` and changes it to a `MirLint` (fixing a `FIXME` comment). (I originally tried moving the full implementation from `rustc_mir_dataflow` but I had some trait problems with `HasMoveData` and `RustcPeekAt` and `MaybeLiveLocals`. This commit was much smaller and simpler, but still will allow some follow-up cleanups.)
Diffstat (limited to 'compiler/rustc_mir_transform/src/instsimplify.rs')
0 files changed, 0 insertions, 0 deletions
