Skip to content

Commit 4d2e574

Browse files
remove last MakeSSA pass
1 parent 49eedca commit 4d2e574

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

vyper/venom/__init__.py

-7
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ def _run_passes(fn: IRFunction, optimize: OptimizationLevel, ac: IRAnalysesCache
7878
MemMergePass(ac, fn).run_pass()
7979

8080
LowerDloadPass(ac, fn).run_pass()
81-
# NOTE: MakeSSA is after algebraic optimization it currently produces
82-
# smaller code by adding some redundant phi nodes. This is not a
83-
# problem for us, but we need to be aware of it, and should be
84-
# removed when the dft pass is fixed to produce the smallest code
85-
# without making the code generation more expensive by running
86-
# MakeSSA again.
87-
MakeSSA(ac, fn).run_pass()
8881
BranchOptimizationPass(ac, fn).run_pass()
8982

9083
AlgebraicOptimizationPass(ac, fn).run_pass()

0 commit comments

Comments
 (0)