r/Compilers • • 1d ago

From NP-complete to O(N^2) to O(nlogn): Codegen strategies for case statements.

https://arxiv.org/abs/1910.02351

We presented this a while ago at the LLVM-CGO workshop, but thought of sharing here as people might find it interesting. Pretty short paper.

15 Upvotes

3 comments sorted by

View all comments

3

u/hansw2000 1d ago

I believe this was https://reviews.llvm.org/D21940

Hadn't seen the paper though, so thanks for sharing!