AMDGPU/GlobalISel: Fix some crashs in g_unmerge_values/g_merge_values

This was crashing in the predicate function assuming the value
is a vector.

Copy more of what AArch64 uses. This probably needs more refinement
later, but I don't exactly understand what it means in some cases,
particularly since any legalization for these seems to be missing.

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