Created attachment 104542 [details]
R600_DEBUG=vs output for failing shader
Trying to start the Elemental demo ends with this LLVM assertion failure:
Elemental: /home/daenzer/src/llvm-git/llvm/lib/CodeGen/VirtRegMap.cpp:369: void (anonymous namespace)::VirtRegRewriter::rewrite(): Assertion `PhysReg && "Invalid SubReg for physical register"' failed.
Fixed with current LLVM SVN.