add mir optimization tests, dump-mir-dir option

This commit is contained in:
Scott A Carr
2016-07-07 16:40:01 -07:00
parent d11936251a
commit 8f9844dd5c
11 changed files with 242 additions and 5 deletions

View File

@@ -375,6 +375,10 @@ impl Build {
check::compiletest(self, &compiler, target.target,
"pretty", "run-pass-valgrind");
}
CheckMirOpt { compiler } => {
check::compiletest(self, &compiler, target.target,
"mir-opt", "mir-opt");
}
CheckCodegen { compiler } => {
check::compiletest(self, &compiler, target.target,
"codegen", "codegen");