Comment on tradeoff.
This commit is contained in:
parent
895e3a94fa
commit
d48762fa1d
|
@ -169,7 +169,8 @@
|
||||||
;; For instance, if `f' is a loop, and gets inlined in `g' multiple
|
;; For instance, if `f' is a loop, and gets inlined in `g' multiple
|
||||||
;; times, it's likely to be unrolling. Same for out-of-fuels in `g'.
|
;; times, it's likely to be unrolling. Same for out-of-fuels in `g'.
|
||||||
;; Therefore, we don't want to report these as inlinings (or failed
|
;; Therefore, we don't want to report these as inlinings (or failed
|
||||||
;; inlinings).
|
;; inlinings). If `g' has multiple call sites for `f', we lose
|
||||||
|
;; precision, and may discard actual inlinings.
|
||||||
;; However, we care about `f' being unrolled at least once in `g'.
|
;; However, we care about `f' being unrolled at least once in `g'.
|
||||||
;; If we run out of fuel trying to inline `f' in `g' for the first
|
;; If we run out of fuel trying to inline `f' in `g' for the first
|
||||||
;; time, we report. The reason for this is that it's possible to
|
;; time, we report. The reason for this is that it's possible to
|
||||||
|
|
Loading…
Reference in New Issue
Block a user