MondaySundaySaturdayFridayThursdayWednesdayTuesday

TPDE-LLVM: Faster LLVM -O0 Back-End

signa11 119 points discourse.llvm.org
PoignardAzur
It feels sometimes that compiler backend devs haven't quite registered the implications of the TDPE paper.

As far as I can tell it gets pareto improvements far above LLVM, Cranelift, and any WebAssembly backend out there. You'd expect there to be a rush to either adopt their techniques or at least find arguments why they wouldn't work for generalist use cases, but instead it feels like maintainers of the above project have absolutely no curiosity about it.

webdevver
whats "the TDPE paper"?
leoh
I'm glad they mentioned this. When I use Gentoo, though, always compile with -O8 for extreme performance.
wmf
I thought everybody moved to Arch. I hear they patched the compiler to go to -O11.
jeffreygoesto
Beware, this only works outside of Scotland!
leoh
Smart!!
SkiFire13
We support a typical subset of LLVM-IR

I wonder what such a "typical" subset is. How exotic should something be to not work with it?

aengelke
The documentation has a list of currently unsupported features: https://docs.tpde.org/tpde-llvm-main.html
__d
Needs a (2020)?
Twirrim
It didn't :( This is a 2025 post, that happens to quote a post from 2020 at the start.

dang, if you see this, could you fix it?

circuit10
Looks like it got fixed now
LtdJorge
The post is from 2025
syrusakbary
This is awseome, I didn't know this was possible and may replace the need of using Cranelift for having fast builds of Wasm bytecode into assembly in Wasmer.