News for hackers. Stuff that matters.
Re:IR is better than assembly (2013) by amelius on Sunday January 01, 2017 @07:45PM (#13298314)
> If you really can write better assembly than LLVM, please: Don't write any more assembler by hand - write IR and create new LLVM optimisers instead. It'll benefit everybody, not only you. Think about it - you won't need to write the same optimisations all over again on your next project!

Very noble goal, but I can imagine that it can take a lot more time to do that than just writing a bunch of assembler instructions.

Perhaps there could be some intermediate approach, where LLVM can learn from a IR/assembly pair and improve itself (?)

Re:IR is better than assembly (2013) by brigade on Sunday January 01, 2017 @08:21PM (#13298461)
Sure, you can file a bug with a snippet and expected assembly and make the devs do the work :P

They generally seem pretty willing if it's simple, and if it isn't then it'd probably be a pretty involved (but interesting!) side project for you anyway.

Re:IR is better than assembly (2013) by dTal on Sunday January 01, 2017 @08:46PM (#13298536)
>LLVM can learn from a IR/assembly pair and improve itself

Oof, Reflections on Trusting Trust just got more interesting...