On Wednesday, 1 April 2015 at 22:30:55 UTC, weaselcat wrote:
On Wednesday, 1 April 2015 at 22:15:42 UTC, Martin Nowak wrote:
On 04/01/2015 10:31 PM, novice2 wrote:
Can DMD compiler do it itself, as one of optimizations?
You could do it as part of LTO or whole program optimization.
It requires another compiler/linker phase, so it's not easy to
achieve,
maybe the LDC/GDC people have LTO running?
GCC5 comes with a big announcement about devirtualization.
https://www.gnu.org/software/gcc/gcc-5/changes.html#general
Do you know if LLVM is getting anything similar?
Yes, there is active dev in LLVM to achieve the same kind of
results.