]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 9 Feb 2022 22:29:59 +0000 (23:29 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Feb 2022 22:29:59 +0000 (23:29 +0100)
commit323880646d7595cf10f621163ae3f00a5861867f
treef92e6e48436a2b3b0b6a9521b8dfe6515e3932f8
parent6db0f9ca0dcce3c781fe6f4e7fc5f3957b41dfef
parentc97302efade33d55d4e1ead74947996fed3fa5da
Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser

Make a few cleanup MIR passes public

Zulip Discussion: https://rust-lang.zulipchat.com/#narrow/stream/189540-t-compiler.2Fwg-mir-opt/topic/Making.20passes.20public.20again

This makes a few passes which used to be public, public again. I'd like to use these to clean up MIR code for my external rustc driver. The other option would be to make them all public, but I don't know if that's warranted / useful.

r? `@wesleywiser`
compiler/rustc_mir_transform/src/lib.rs