Eliding of slice range checking

welkam wwwelkam at gmail.com
Fri Oct 25 13:13:21 UTC 2019


On Thursday, 24 October 2019 at 21:02:03 UTC, Per Nordlöw wrote:
> On Thursday, 24 October 2019 at 18:37:05 UTC, welkam wrote:
>> I remember in some video Chandler Carruth said that value 
>> range propagation across function boundary was implemented in 
>> llvm but later removed because it produced no performance 
>> improvement for C and C++ code. I wonder how it fare when used 
>> on D code.
>
> Interesting. What uses of VRP do you see in D?

Now that you asked I realized that it wont be that much useful 
because in D all arrays go together with their size so cross 
function VRP would do little.


More information about the Digitalmars-d-learn mailing list