[AMDGPU] Fix lowering a16 image intrinsics
authorSebastian Neubauer <sebastian.neubauer@amd.com>
Thu, 23 Jan 2020 13:58:38 +0000 (14:58 +0100)
committerSebastian Neubauer <sebastian.neubauer@amd.com>
Wed, 5 Feb 2020 09:54:34 +0000 (10:54 +0100)
commit163e33b290ff4b3bc3eec569a153ced9267254ec
tree4c1f8835c79351cf56baec687fc1dc2fcd1751d0
parent3bc7ffdaabee8b8380dab66f7e1e200660723b10
[AMDGPU] Fix lowering a16 image intrinsics

scalar_to_vector takes only one argument, not two.
The a16 tests now also check the packing of coordinates into registers

Differential Revision: https://reviews.llvm.org/D73482
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.a16.dim.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll