Temporarily disable the shink_instruction pass.

It appears some of the instruction encodings are incorrect. Temporarily
disable the use of shorter encodings until these are fixed.
This commit is contained in:
Dan Gohman
2018-04-19 17:49:48 -07:00
parent 5434f4dafa
commit 3e4531657c

View File

@@ -140,9 +140,12 @@ impl Context {
} }
self.regalloc(isa)?; self.regalloc(isa)?;
self.prologue_epilogue(isa)?; self.prologue_epilogue(isa)?;
// Temporarily disable the shrink_instructions pass, as it causes miscompiles.
/*
if isa.flags().opt_level() == OptLevel::Best { if isa.flags().opt_level() == OptLevel::Best {
self.shrink_instructions(isa)?; self.shrink_instructions(isa)?;
} }
*/
self.relax_branches(isa) self.relax_branches(isa)
} }