If I compile it with with LDC1 with Link Time Optimization + Interning: ldc -O3 -release -inline -output-bc smallpt2_d.dopt -std-compile-opts smallpt2_d.bc > smallpt2_do.bcllvm-ld -native -ltango-base-ldc -ltango-user-ldc -ldl -lm -lpthread -internalize-public-api-list=_Dmain -o=smallpt2_do smallpt2_do.bc
Is there a more convenient way to get LTO with LDC?