[LLVMdev] LLVM IR is a compiler IR
rengolin at systemcall.org
Wed Oct 5 13:47:23 PDT 2011
On 5 October 2011 18:03, Justin Holewinski <justin.holewinski at gmail.com> wrote:
> So why must LLVM try to meet *both* goals? Instead, different types of
> front-ends can use custom intermediate representations that meet their
> needs, and then lower to platform-specific LLVM IR before final code
> emission. I'm afraid that if LLVM gets into the game of trying to be the
> intermediate representation for *everything*, then it will suffer.
You seem to be intermixing LLVM vs. LLVM IR.
I think LLVM can have as many sub-projects as people want to, and they
can create as many new shiny things as they want. LLVM IR, on the
other hand, has specific goals and should keep tight to it.
As I said before, IR is what it is. But LLVM is not *just* the IR...
There is a lot more that can be done, and Polly and OpenCL are just
More information about the llvm-dev