Only OCU vectors can be splatted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46651 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/vector.c b/test/CodeGen/vector.c
new file mode 100644
index 0000000..1edef0e
--- /dev/null
+++ b/test/CodeGen/vector.c
@@ -0,0 +1,6 @@
+typedef short __v4hi __attribute__ ((__vector_size__ (8)));
+
+void f()
+{
+    __v4hi A = (__v4hi)0LL;
+}
\ No newline at end of file