In Defense of NIR
jlekstrand.net
jlekstrand.net
>>NIR (pronounced “ner”) is a new IR (internal representation) for the Mesa shader compiler that will sit between the old IR (GLSL IR) and back-end compilers.
Integrating LLVM even in a compiler targeting CPUs (in my experience) still has plenty of pain points, much less a GPU-oriented one, much less in 2014! There's still plenty of rich design space to explore as well, even if it's ultimately a lot of work.