AMDGPU/SI: Select non-uniform constant addrspace loads to flat instructions for HSA
authorTom Stellard <thomas.stellard@amd.com>
Tue, 5 Jan 2016 03:40:16 +0000 (03:40 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 5 Jan 2016 03:40:16 +0000 (03:40 +0000)
commitb5659367ca98a51bcce017d042ea681f01d14e37
tree47cacb1b63c71926659776af2fed425aa2708a6c
parentd28c1bc303cdffe04b9433bb3757e331f6e250af
AMDGPU/SI: Select non-uniform constant addrspace loads to flat instructions for HSA

Summary: This fixes a regression caused by r256282.

Reviewers: arsenm, cfang

Subscribers: arsenm, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256810 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.td
test/CodeGen/AMDGPU/load.ll
test/CodeGen/AMDGPU/salu-to-valu.ll