Session Type
Technical Talk
Date & Time
Wednesday, April 10, 2024, 2:45 PM - 3:15 PM
Name
Faster Compilation with GlobalISel: Skipping LLVM-IR
Location Name
PSC I-III
Abstract/s

In a GlobalISel-based back-end, LLVM-IR is first translated to generic Machine IR (gMIR), which is then selected into target instructions. Instead of generating LLVM-IR, we emit gMIR directly and skip the first part of the code generation pipeline. For our application, this improved compile-times by ~20%. In this talk, we present how to work with gMIR, show how common IR constructs are lowered for GlobalISel, and discuss the performance of LLVM's instruction selectors.

Moderator
Javed Absar