arsenm added inline comments. ================ Comment at: include/llvm/IR/CallingConv.h:181-182 @@ -180,1 +180,4 @@ + /// Calling convention used for Mesa shaders. + AMDGPU_SHADER = 87, + ---------------- I was actually thinking of having one for each kind of shader http://reviews.llvm.org/D18559