Skip to content

Commit

Permalink
Don't set opt_level to best
Browse files Browse the repository at this point in the history
LICM is still broken
  • Loading branch information
bjorn3 committed Jul 27, 2019
1 parent c7fa94b commit bdf23c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/*
Expand Down

0 comments on commit bdf23c0

Please sign in to comment.