All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Fixing a Performance Regression in LLVM's SLP Vectorizer on RISC-V

By

matt_d

3d ago· 17 min readenInsight

Summary

The article describes how the author solved a performance regression in LLVM's SLP Vectorizer by analyzing a benchmark from a RISC-V target. The regression showed an 89% delta in benchmark performance, with ~26% more instructions issued and ~48% more cycles. The author compares assembly code from older and newer LLVM builds to identify the root cause of the performance degradation.

Key quotes

· 4 pulled
Similar to my last post, this writeup covers how I solved a performance regression on LLVM by analyzing a benchmark from a RISCV target.
Looking at Igalia's LNT instance for the BPI-F3, I noticed this particular benchmark with a delta of 89%.
Specifically, there was an increase in ~26% issued instructions and a ~48% increase in cycles.
We can see that that newer build of LLVM is perfor
Snippet from the RSS feed
Similar to my last post, this writeup covers how I solved a performance regression on LLVM by analyzing a benchmark from a RISCV target.

You might also wanna read