AMDGPU: Fix shouldConvertConstantLoadToIntImm behavior
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 30 Jul 2016 01:40:36 +0000 (01:40 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 30 Jul 2016 01:40:36 +0000 (01:40 +0000)
commit749035b7b1dc0450a2f157df9801d9f7534fbed9
tree7290dafdf673db310beedb1562e6519f306e05ec
parentd2141b6030aa6435df810c7cbd45a225b73b99f9
AMDGPU: Fix shouldConvertConstantLoadToIntImm behavior

This should really be true for any immediate, not just
inline ones.

llvm-svn: 277260
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll