-
JIT Compilation Gotchas: Mismatched Calling Conventions
Don't disable SSE for just half of your codebase. Really, don't
-
Stop Chasing Ghosts: Hardware Utilization is Not an Outcome Metric
A critical look at performance metrics: Understand the pitfalls of optimizing for proxy measures like IPC and the importance of focusing on outcome metrics for real gains.
-
Debugging and Profiling JIT Compiled LLVM-IR
A few techniques for debugging and profiling JIT generated and compiled LLVM IR. Including: dumping generated IR and compiled object files to disk, installing JIT listeners to enable perf/GDB, and inserting self-referential debug information into your IR. This post has an accompanying github repository demonstrating these approaches with LLVM-17