Refactor optimization pass handling.
Refactor the optimization passes to explicitly use the passes. This commit just re-implements the same passes as were already being run. It also adds an option (behind `-Z`) to run the LLVM lint pass on the unoptimized IR.
Showing
src/librustc/back/passes.rs
0 → 100644
src/rustllvm/PassWrapper.cpp
0 → 100644
src/rustllvm/rustllvm.h
0 → 100644
想要评论请 注册 或 登录