savi-lang / savi

A fast language for programmers who are passionate about their craft.
BSD 3-Clause "New" or "Revised" License
154 stars 12 forks source link

Add `--llvm-optimize-nothing` CLI option. #421

Closed jemc closed 1 year ago

jemc commented 1 year ago

This disables all optimization, including even the very basic forms of inlining enabled by default.

This is mainly useful for troubleshooting the compiler and potential issues with LLVM IR generation.