It would be good to also mention
other improvements in ThinLTO for 4.0 release
We need to mention ThinLTO in the Release Notes, so thanks for initiating this.
It's documented here:
but not (yet) here:
I can add that.
Yes this is a good start. One of the big improvements from PGO is the integration with indirect call promotion. I would suggest something like:
Improvements to ThinLTO (-flto=thin):
Oh I didn't notice that we were in the clang Release Notes, actually I've only updated the LLVM ones in the past.
So yes, I think this should be in LLVM as well, I don't know if it should differ in some way?