This fixes a crash bug. It's also not clear if we'd want to do this transform for vectors. llvm-svn: 255155