Skip to content

Commit bdf23c0

Browse files
committed
Don't set opt_level to best
LICM is still broken
1 parent c7fa94b commit bdf23c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ fn build_isa(sess: &Session) -> Box<dyn isa::TargetIsa + 'static> {
242242
"false"
243243
}).unwrap();
244244

245-
flags_builder.set("opt_level", "best").unwrap();
245+
// FIXME(CraneStation/cranelift#732) fix LICM in presence of jump tables
246+
//flags_builder.set("opt_level", "best").unwrap();
246247

247248
// FIXME enable again when https://github.com/CraneStation/cranelift/issues/664 is fixed
248249
/*

0 commit comments

Comments
 (0)