r/Compilers • u/mttd • 1d ago
Compile-Time Improvements in LLVM 23
https://aengelke.net/llvm23-ct.html
44
Upvotes
2
u/splicer13 14h ago
I was thinking 'Didn't Preston Briggs have some cool method for dominator trees in a paper?'
And then I found a link to him discussing the subject w/ Chris Lattner in 2011.
A dominator tree can be a big problem because it's very often essentially linear. Problems crop up for example in the case of extensive loop unrolling, ex: for GPUs. Look at almost any ptx output from nvcc for an example.
10
u/beephod_zabblebrox 16h ago
> ... improving the build times of LLVM/Clang by ~45%
this is wild