fyi: COMDAT linkage -> less LLVM optimization

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Sep 4 02:06:19 PDT 2016


We emit most functions in COMDAT sections, but with LLVM 3.9 we 
loose out on some optimizations:
http://llvm.org/releases/3.9.0/docs/ReleaseNotes.html#changes-to-llvm-s-ipo-model

Don't know what the impact will be.
(I've always disliked putting everything in COMDAT sections, so 
it's extra ammunition against that)

-Johan



More information about the digitalmars-d-ldc mailing list