Skip to content

LLVM Social #22 - Writing a custom IR transformation pass

Photo of Stefan Gränitz
Hosted By
Stefan G.
LLVM Social #22 - Writing a custom IR transformation pass

Details

Happy new year everyone! For our first gathering in 2023, we have Yoshitomo Nakanishi talking about writing your custom LLVM-IR transformation pass.

Abstract:
The IR transformation plays an important role in machine-independent optimizations. One of the prominent features of LLVM is its beautiful design which allows us to write our custom IR transformation passes with minimum effort. Ok, let's dive into the attractive transformation world!

In the first half of the meetup, we'll see
1. Basic data structures essential for data flow analysis
2. LLVM architecture to write your custom transformation passes
3. The usage of the "FileCheck" testing utility to verify the transformation

In the last half, we'll learn a real-world optimization pass and tips through a custom "Mem2Reg" implementation.

As discussions fade into casual conversation, we may go for drinks to c-base or one of the surrounding bars. There is always space for other topics and discussions, so please bring your questions. Looking forward to meeting everyone in 2023!

COVID-19 safety measures

Event will be indoors
If you wish COVID-19 safety measures, please let us know in advance.
The event host is instituting the above safety measures for this event. Meetup is not responsible for ensuring, and will not independently verify, that these precautions are followed.
Photo of LLVM Social Berlin group
LLVM Social Berlin
See more events
echtzeit.dev Office
Rungestr. 20, Aufgang 5, 2. OG · Berlin, al