Add a MIR pass to simplify the control flow graph
For now, this pass does some easy transformations, like eliminating empty blocks that just jump to another block, some trivial conversion of If terminators into Gotos and removal of dead blocks.
Showing
src/librustc_mir/transform/mod.rs
0 → 100644
想要评论请 注册 或 登录