Unlocking 15% More Performance: A Case Study in LLVM Optimization for RISC-V
summary
Upstream LLVM gains measurable real‑world wins: a new scheduling model for the space mak 60 plus a microbenchmark latency tool corrects instruction latencies and hides loads, yielding up to 16% SPEC2017 speedup on a Banana Pi BPI F3 board; an SLP/vectorization fix across function calls removes spill-induced slowdowns and reaches ~12% win on affected benchmarks; enabling IPRA to avoid prologue/epilogue spills trims register pressure and gives smaller consistent wins (around 0.5–3%).
AI-written summary · about
chapters (6)
- 0:00Introduction and project overview
- 1:27Scheduling model for X60
- 5:02Vectorization across function calls
- 7:52IPA support for RISC-V
- 9:20Key takeaways and conclusions
- 12:54Q&A session
related talks
17mMaking LLVM RISC-V Compiler More Performant for Everyone
16mImprovements to RISC-V Vector code generation in LLVM
38mOptimized String Processing in RISC-V: How Toolchain Improvements Can Boost Performance
18mPreview RISC-V GCC Features and Optimization Improvements for GCC-14
19mGetting the Most out of the LLVM Auto Vectorizer for RISC-V Vectors (RVV)
17mRISC-V LLVM State of the Union
23mCode Density Improvements Beyond The C Standard Extension
24mRISC V LLVM: Towards A Production-Ready LLVM-Based Toolchain
