You can specifiy the llvm optimization level with -O less, -O default, etc. This is not the standard way compilers take an argument for optimization. So, we want -O1, -Oz etc.
This requires changing the clap argument parsing.
Follow what gcc/clang offers (checks this!).
You can specifiy the llvm optimization level with
-O less,-O default, etc. This is not the standard way compilers take an argument for optimization. So, we want-O1,-Ozetc.This requires changing the clap argument parsing.
Follow what gcc/clang offers (checks this!).