CSE comments
authorAndy Wingo <wingo@pobox.com>
Thu, 3 Jul 2014 07:03:45 +0000 (09:03 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 3 Jul 2014 07:03:45 +0000 (09:03 +0200)
* module/language/cps/cse.scm (compute-available-expressions): Add
  clarifying comment.

module/language/cps/cse.scm

index 48cf922..ab48290 100644 (file)
@@ -101,7 +101,9 @@ index corresponds to MIN-LABEL, and so on."
           ;; Fast-path if this expression clobbers nothing.
           in)
          (else
-          ;; Kill clobbered expressions.
+          ;; Kill clobbered expressions.  There is no need to check on
+          ;; any label before than the last dominating label that
+          ;; clobbered everything.
           (let ((first (let lp ((dom label))
                          (let* ((dom (vector-ref idoms (label->idx dom))))
                            (and (< min-label dom)