Skip to content

Commit

Permalink
Revert "Switch order of LVN"
Browse files Browse the repository at this point in the history
This reverts commit d16778a.
  • Loading branch information
avanhatt committed Dec 17, 2020
1 parent d16778a commit 7382787
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/compiler.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
; Add optimization passes like const elimination.
(define ssa-prog (ssa p))
(define elim-prog (const-elim ssa-prog))
(define trunc-prog (allocate-and-truncate elim-prog))
(define prog (lvn elim-prog))
(define lvn-prog (lvn elim-prog))
(define trunc-prog (allocate-and-truncate lvn-prog))

(when (check-transform-with-fn-map)
(pretty-display "Running translation validation")
(assert
(equal?
(unsat)
(verify-spec-prog spec
(to-v-list-prog prog)
(to-v-list-prog trunc-prog)
#:fn-map (check-transform-with-fn-map)))))
prog)
trunc-prog)

0 comments on commit 7382787

Please sign in to comment.