AMDPGU/SI: Use correct resource descriptors for VI on HSA
authorTom Stellard <thomas.stellard@amd.com>
Fri, 26 Jun 2015 21:58:42 +0000 (21:58 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 26 Jun 2015 21:58:42 +0000 (21:58 +0000)
commit4694ed0a1456d30c8eacd56d024afabe53cfd0f8
tree53d30034a5fd33dd9a7fdb1611f61c1367cc324f
parent1a07e191807032584b669319339341c3fa937212
AMDPGU/SI: Use correct resource descriptors for VI on HSA

Summary: We need to set MTYPE = 2 for VI shaders when targeting the HSA runtime.

Reviewers: arsenm

Differential Revision: http://reviews.llvm.org/D10777

llvm-svn: 240841
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/hsa.ll