summaryrefslogtreecommitdiff
path: root/scripts/fuzz_opt.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fuzz_opt.py')
-rwxr-xr-xscripts/fuzz_opt.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index a5f8a3586..38c5c331b 100755
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -1264,6 +1264,7 @@ opt_choices = [
["--dae-optimizing"],
["--dce"],
["--directize"],
+ ["--discard-global-effects"],
["--flatten", "--dfo"],
["--duplicate-function-elimination"],
["--flatten"],
@@ -1271,6 +1272,10 @@ opt_choices = [
["--inlining"],
["--inlining-optimizing"],
["--flatten", "--simplify-locals-notee-nostructure", "--local-cse"],
+ # note that no pass we run here should add effects to a function, so it is
+ # ok to run this pass and let the passes after it use the effects to
+ # optimize
+ ["--generate-global-effects"],
["--global-refining"],
["--gsi"],
["--gto"],