SN Systems Tech Blog

Filter:

Supporting Regular and Thin LTO with a Single LTO Bitcode Format

ARTICLE BY: Matthew Voss
POSTED: Nov 28, 2019
TAGS: LLVM, LLVM Developers Meeting, LTO, Toolchain

In LLVM versions up to and including 10.0, LTO bitcode files are specialized to either Thin or Regular LTO. As a user or middleware library provider, this increases the complexity. A user must recompile all files for the type of LTO and library providers must ship two versions of their bitcode. This talk outlines Sony Interactive Entertainment’s (SIE) solution: a single LTO bitcode format that can be used with both Thin and Regular LTO backends.

READ THE WHOLE POST 

Targeting a statically compiled program repository with LLVM

ARTICLE BY: Russell Gallop & Phil Camp
POSTED: Jul 17, 2019
TAGS: LLVM Developers Meeting, Toolchain

Following on from the 2016 talk "Demo of a repository for statically compiled programs", this lightning talk will present a brief overview of how LLVM was modified to target a program repository. This includes adding a new target output format and a new optimization pass to skip program elements already present in the repository.

READ THE WHOLE POST 

Analyzing the size of the compiler executable

ARTICLE BY: Russell Gallop
POSTED: Jul 17, 2019
TAGS: Compiler, LLVM Developers Meeting, Toolchain

The title of this lighting talk is from a bug filed in the early days of the PS4 compiler. It noted that the LLVM-based PS4 compiler was more than 3 times larger than the PS3 compiler. Since then it has almost doubled to over 40MB. For a compiler which targets one system this seems excessive. Executable size can cost in worse cache performance and cost time if transferring for distributed builds.

READ THE WHOLE POST