From 291afaf4ad0bfd750467f0d2c6339bf865106748 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 20 Aug 2019 15:12:27 -0700 Subject: [PATCH] Temporarily disable `fold_redundant_jumps`. See #916 for details. --- cranelift/codegen/src/binemit/relaxation.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cranelift/codegen/src/binemit/relaxation.rs b/cranelift/codegen/src/binemit/relaxation.rs index 62f692e557..e5f7772210 100644 --- a/cranelift/codegen/src/binemit/relaxation.rs +++ b/cranelift/codegen/src/binemit/relaxation.rs @@ -57,7 +57,8 @@ pub fn relax_branches( func.offsets.resize(func.dfg.num_ebbs()); // Start by removing redundant jumps. - fold_redundant_jumps(func, cfg, domtree); + // FIXME: Temporarily disabled due to #916. + /* fold_redundant_jumps(func, cfg, domtree); */ // Convert jumps to fallthrough instructions where possible. fallthroughs(func);