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)
commit0be7d0cf17203388c9ed689a5c465a0ca726b59a
tree70efd87be918e1e4d58e8887254b0384670e4fa2
parent4a888086a4306b02aacc2408585debc091898a83
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240841 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
test/CodeGen/AMDGPU/hsa.ll