Skip to content

Commit

Permalink
Version bump and fix application order of configs
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Apr 15, 2024
1 parent d08c868 commit 9da7eb0
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 212 deletions.
4 changes: 2 additions & 2 deletions opshin/compiler_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ class CompilationConfig(pluthon.CompilationConfig):
)
OPT_O1_CONFIG = (
CompilationConfig()
.update(pluthon.OPT_O1_CONFIG)
.update(OPT_O0_CONFIG)
.update(pluthon.OPT_O1_CONFIG)
.update(
remove_dead_code=True,
)
)
OPT_O2_CONFIG = (
CompilationConfig()
.update(pluthon.OPT_O2_CONFIG)
.update(OPT_O1_CONFIG)
.update(pluthon.OPT_O2_CONFIG)
.update(
constant_folding=True,
)
Expand Down
Loading

0 comments on commit 9da7eb0

Please sign in to comment.