From 3b0b011b36797388a379da85b11e55830906cf0d Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 30 May 2023 17:07:28 -0700 Subject: StackIR: Remove nops (#5746) No nop instruction is necessary in wasm, so in StackIR we can simply remove them all. Fixes #5745 --- scripts/fuzz_opt.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/fuzz_opt.py') diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index 18bd95828..3039e2bd8 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -1527,6 +1527,8 @@ opt_choices = [ ("--optimize-instructions",), ("--optimize-stack-ir",), ("--generate-stack-ir", "--optimize-stack-ir",), + # the full lifecycle of stack IR: generate, optimize, and write (and read) + ("--generate-stack-ir", "--optimize-stack-ir", "--roundtrip"), ("--pick-load-signs",), ("--precompute",), ("--precompute-propagate",), -- cgit v1.2.3