Swift supports multiple levels of optimizations per single module. This project aims to achieve LTO support for Swift at LLVM level and at Swift’s intermediate representation level to do more aggressive optimization across modules.

This proposal suggests language-agnostic LTO support and linker plugin implementation for Swift specific LTO.

The linker plugin will be able to accept serialized Swift Intermediate Language (SIB) files for multiple modules and performs cross-module optimization passes (e.g. Dead Code Elimination, Inlining).

As a result, it’s expected to achieve significant binary size reduction and runtime performance improvements.

Organization

Student

kateinoigakukun

Mentors

  • Saleem Abdulrasool
close

2020