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:
@@ -140,9 +140,12 @@ impl Context {
|
||||
}
|
||||
self.regalloc(isa)?;
|
||||
self.prologue_epilogue(isa)?;
|
||||
// Temporarily disable the shrink_instructions pass, as it causes miscompiles.
|
||||
/*
|
||||
if isa.flags().opt_level() == OptLevel::Best {
|
||||
self.shrink_instructions(isa)?;
|
||||
}
|
||||
*/
|
||||
self.relax_branches(isa)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user