Displaying 2 results from an estimated 2 matches for "freqofentry".
2017 Nov 17
2
Less aggressive on the first allocation of CSR if detecting an early exit
...plit cost which is compared with CSRCost is
the sum of the frequencies of spots where spill/split happen, and the
CSRCost is the cost of spilling CSR at the entry. If we say, for
example, 20 copies from pre-split are okay to trade against 1 csr spill
at the entry, then shouldn't we multiply FreqOfEntry with the 20 (number
of tradable copies)? Please me know if I miss something here?
>
>> By doing this, I would expect we mechanically get the desired
>> behavior
>> that CSRs get used for live-ranges that go through calls (otherwise
>> we
>> would have spilled)....
2017 Nov 16
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-14 17:22, Quentin Colombet wrote:
> Hi,
>
> I think it is kind of artificial to tie the CSRCost with the presence
> of calls.
> I think I’ve already mentioned it in one of the review, but I
> believe it would be better to differentiate when we want to use a CSR
> to avoid spilling or to avoid splitting. CSR instead of spilling is
> good, CSR instead of