AMDGPU: Handle alloca promoting with null operands

If the second pointer in a multi-pointer instruction is
a constant, we can replace the type.

llvm-svn: 269945
4 files changed