]> git.lizzy.rs Git - rust.git/commitdiff
Don't set opt_level to best
authorbjorn3 <bjorn3@users.noreply.github.com>
Sat, 27 Jul 2019 14:12:15 +0000 (16:12 +0200)
committerbjorn3 <bjorn3@users.noreply.github.com>
Sat, 27 Jul 2019 14:12:48 +0000 (16:12 +0200)
LICM is still broken

src/lib.rs

index 299b47403bc7699b16d5b0c81c71286d91d56c09..fb23522738df649e2f0120c908c78ff0610e69c1 100644 (file)
@@ -242,7 +242,8 @@ fn build_isa(sess: &Session) -> Box<dyn isa::TargetIsa + 'static> {
         "false"
     }).unwrap();
 
-    flags_builder.set("opt_level", "best").unwrap();
+    // FIXME(CraneStation/cranelift#732) fix LICM in presence of jump tables
+    //flags_builder.set("opt_level", "best").unwrap();
 
     // FIXME enable again when https://github.com/CraneStation/cranelift/issues/664 is fixed
     /*