Skip to content

Commit

Permalink
leave a note
Browse files Browse the repository at this point in the history
  • Loading branch information
yihozhang committed May 30, 2024
1 parent 52e0dc6 commit 6cdc388
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dag_in_context/src/optimizations/ivt.egg
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@
(= (Get thn ith) (Const (Bool false) _unused1 _unused2))
(= (Get els ith) (Const (Bool true) _unused3 _unused4))
) (
(ith-arg-is-bool conditional condI inpI ith els thn)
;; TODO: this may introduce overhead, but is the only way to
;; not have two rules
(ith-arg-is-bool conditional (Uop (Not) condI) inpI ith els thn)
) :ruleset always-run)

(rule (
Expand Down

0 comments on commit 6cdc388

Please sign in to comment.