Disable loop detection heuristic with too many false positives.
This commit is contained in:
parent
2e594d3606
commit
d396b34b2d
|
@ -180,7 +180,8 @@
|
||||||
;; body (as opposed to `g') may make unboxing possible.
|
;; body (as opposed to `g') may make unboxing possible.
|
||||||
;; Of course, we lose precision if `g' has multiple call sites to `f'.
|
;; Of course, we lose precision if `g' has multiple call sites to `f'.
|
||||||
(define n-unrollings (length (filter unrolling? group)))
|
(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
|
(define inlining-sites
|
||||||
(group-by equal? #:key (lambda (x)
|
(group-by equal? #:key (lambda (x)
|
||||||
(inlining-event-where-loc
|
(inlining-event-where-loc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user