News for hackers. Stuff that matters.
Re:Bootstrapping Rust by Ygg2 on Thursday December 11, 2014 @02:44AM (#8733667)
That seems contrary to what IR is supposed to do and how LLLVM was designed. Any links or explanations?
Re:Bootstrapping Rust by Rusky on Thursday December 11, 2014 @03:23AM (#8733769)
LLVM IR isn't supposed to be target independent in any way. It's an internal representation for a compiler backend- it has to be able to represent target-specific semantics at some point.
Re:Bootstrapping Rust by rkangel on Thursday December 11, 2014 @07:54AM (#8734451)
Think of LLVM IR more like a communications protocol between front-end and back-end. A defined abstraction so that the parts can be cleanly separated.