Disable loop detection heuristic with too many false positives.

This commit is contained in:
Vincent St-Amour 2012-07-19 12:17:42 -04:00
parent 2e594d3606
commit d396b34b2d

View File

@ -180,7 +180,8 @@
;; body (as opposed to `g') may make unboxing possible.
;; Of course, we lose precision if `g' has multiple call sites to `f'.
(define n-unrollings (length (filter unrolling? group)))
(define is-a-loop? (or any-self-o-o-f? (> n-unrollings 0)))
;; TODO any-self-o-o-f? add too many false positives
(define is-a-loop? (or #;any-self-o-o-f? (> n-unrollings 0)))
(define inlining-sites
(group-by equal? #:key (lambda (x)
(inlining-event-where-loc