AMDGPU: don't match vgpr loads for constant loads
authorMarek Olsak <marek.olsak@amd.com>
Mon, 27 Jul 2015 18:16:08 +0000 (18:16 +0000)
committerMarek Olsak <marek.olsak@amd.com>
Mon, 27 Jul 2015 18:16:08 +0000 (18:16 +0000)
Author: Dave Airlie <airlied@redhat.com>

In order to implement indirect sampler loads, we don't
want to match on a VGPR load but an SGPR one for constants,
as we cannot feed VGPRs to the sampler only SGPRs.

this should be applicable for llvm 3.7 as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243294 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found