On Sunday, 19 February 2017 at 16:18:48 UTC, visitor wrote:
Works for me on ubuntu 16.04 (llvm-3.8), Thanks :-)
Not heavily tested, just to let you know for some feedback on your work, again Thanks


Great to know that it works for you, thanks for trying it out :-)

Note the snap package doesn't use the distro-packaged LLVM; it's based on a fresh build of LLVM 3.9.1. You can verify this by using

which ldc2 # just to verify you are using the snap packaged version ldc2 --version # should tell you all about the LDC, LLVM and D frontend versions

The latter should read:

  LDC - the LLVM D compiler (1.1.0):
    based on DMD v2.071.2 and LLVM 3.9.1
    built with LDC - the LLVM D compiler (0.17.3)

Out of curiosity, have you tried using the link-time optimization feature? (-flto=full)

Reply via email to