MikeTrendsTrends right now

Mmastodon TechnologySoftware first seen 17 h ago, last 17 h ago, peak #12

LLVM turns branch-free code back into branches on RISC-V

Original: Branches in branch-free code https://00f.net/2026/10/09/llvm-compiles-branch-free-code-into-branches-on-risc-v/ # Progra

A new technical write-up examines cases where LLVM compiles branch-free code but the generated RISC-V assembly contains branches after all. The article walks through the compiler's optimization decisions and what they mean for performance on RISC-V hardware. Developers discussing it are weighing how much this matters for branchless programming techniques and codegen quality on the platform.

Why now: Compiler enthusiasts are interested in a surprising gap between LLVM's branchless optimizations and its actual RISC-V output

LLVMRISC-V

Open on mastodon →

Evidence

API: https://socialmediatrends-api.osmike.com/v1/trends/1670770