Hacker News new | ask | show | jobs
by sanxiyn 2635 days ago
For example, Unison is an alternative code generator for LLVM, which uses constraint programming to do combined register allocation and instruction selection. It is very slow, but it does generate optimal (not just improved!) code, within its performance model.

http://unison-code.github.io/

1 comments

Thanks for the information. It seems that it is a super optimizer[0].

[0]: https://en.wikipedia.org/wiki/Superoptimization

Unison is not a superoptimizer. Superoptimizer is evem slower.