]> git.lizzy.rs Git - rust.git/commitdiff
run mir opt test with mir-opt-level=3 so they fire
authorScott A Carr <s.carr1024@gmail.com>
Tue, 2 Aug 2016 21:47:53 +0000 (14:47 -0700)
committerScott A Carr <s.carr1024@gmail.com>
Tue, 2 Aug 2016 21:47:53 +0000 (14:47 -0700)
src/tools/compiletest/src/runtest.rs

index f2acfa517ced5b3e36aa75afa5537ac5cfbcbf1f..6647a1a0a933d41046dc22ad79e0709a52393967 100644 (file)
@@ -1340,6 +1340,8 @@ fn make_compile_args(&self,
             MirOpt => {
                 args.extend(["-Z",
                              "dump-mir=all",
+                             "-Z",
+                             "mir-opt-level=3",
                              "-Z"]
                             .iter()
                             .map(|s| s.to_string()));