From 37a86d558994415e722e7f62f5784b1a8b8b4832 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 10 Jul 2024 12:15:22 -0700 Subject: [StackIR] Allow StackIR to be disabled from the commandline (#6725) Normally we use it when optimizing (above a certain level). This lets the user prevent it from being used even then. Also add optimization options to wasm-metadce so that this is possible there as well and not just in wasm-opt (this also opens the door to running more passes in metadce, which may be useful later). --- scripts/fuzz_opt.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/fuzz_opt.py') diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index 4e1305042..2707df4c0 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -1565,6 +1565,7 @@ opt_choices = [ ('--merge-locals',), ('--monomorphize',), ('--monomorphize-always',), + ('--no-stack-ir',), ('--once-reduction',), ("--optimize-casts",), ("--optimize-instructions",), -- cgit v1.2.3