public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* How to check my LLVM toolchain is optimized for PGO and/or ThinLTO?
@ 2021-10-05 21:33 Sedat Dilek
  2021-10-06  2:59 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Sedat Dilek @ 2021-10-05 21:33 UTC (permalink / raw)
  To: llvm; +Cc: Sylvestre Ledru

Hi,

does anyone have a hint how to check a selfmade or distribution LLVM
toolchain for optimizations like PGO and/or ThinLTO?

Personally, I use tc-build to generate a selfmade PGO-ThinLTO LLVM
toolchain which optimizes for my specific hardware (CPU Intel
SandyBridge) and a Linux x86 64-Bit kernel-config.

In case of PGO...
Can I use or better benefit from a distro PGO profile file?
Can I use/benefit from my selfmade (generated) PGO profile file when I
use an optimized distro LLVM toolchain?

Background is Sylvestre is planning to offer PGO+ThinLTO optimized
LLVM toolchains on <apt.llvm.org> for Debian/Ubuntu systems (see [1]).

Thanks.

Regards,
- Sedat -

[1] https://github.com/ClangBuiltLinux/tc-build/issues/155

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-06  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-05 21:33 How to check my LLVM toolchain is optimized for PGO and/or ThinLTO? Sedat Dilek
2021-10-06  2:59 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox