I can reproduce the shader compilation failure with LLVM 3.4, but it seems to compile fine here with current LLVM Git/SVN.