diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2019-07-27 16:12:15 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2019-07-27 16:12:48 +0200 |
| commit | bdf23c02018ec87f30a24dd98c8ad4a8bfbf15dd (patch) | |
| tree | cf84899860802dcd45427fc90c989a0f25298320 | |
| parent | c7fa94bf003ac2ff3a0871e619d0d84e587d2fa5 (diff) | |
| download | rust-bdf23c02018ec87f30a24dd98c8ad4a8bfbf15dd.tar.gz rust-bdf23c02018ec87f30a24dd98c8ad4a8bfbf15dd.zip | |
Don't set opt_level to best
LICM is still broken
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index 299b47403bc..fb23522738d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 /* |
