> You don't need any kind of new source code constructs for optimizing
> that. The LLVM backend can already do that; in the worst case, only when
> LTO is enabled (in case the function is declared in another unit)
> 
> Jonas

I am pretty sure LLVM is advanced enough to make that analysis itself for 
primitive types.
But what about something more interesting - arrays, matrices, trees, hash 
tables, etc?

-- 
Regards,
Denis Golovan
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to