Enable IR-level optimization passes (constant folding, dead-code elimination). Off by default so IR/assembly goldens stay stable; when on, the passes run on the lowered IR before backend lowering.
(&mut self, opts: OptOptions)
| 619 | /// Enable the conservative assembly peephole pass. Off by default, because it |
| 620 | /// rewrites the token stream and the `.s` text rendered from it. |
| 621 | pub fn set_peephole(&mut self, enabled: bool) { |
| 622 | self.peephole = enabled; |
| 623 | } |
| 624 | |
| 625 | /// Keep hot scalars in callee-saved registers (s2-s11) instead of stack slots. |
| 626 | /// On by default; off gives the pure stack-slot lowering for shape comparisons. |
no outgoing calls