AMDGPU: Make undef legal for v2i16/v2f16
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 13 May 2018 10:04:38 +0000 (10:04 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 13 May 2018 10:04:38 +0000 (10:04 +0000)
commitdfb88dfe30824c19e0299bf4a640aecf20dd9ac7
tree64cf2ae4fe2ccedd0d9cf859063d1b4ac5d2a006
parentd31327d50562e8f15035f8b4781241e0dc3be92b
AMDGPU: Make undef legal for v2i16/v2f16

This is apparently necessary to stop undef from being
turned into a build_vector of 0s.

llvm-svn: 332195
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pkrtz.ll