Support evaluation of vector constant expressions, and codegen of same.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62455 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/ext-vector.c b/test/CodeGen/ext-vector.c
index ae877ed..0a57397 100644
--- a/test/CodeGen/ext-vector.c
+++ b/test/CodeGen/ext-vector.c
@@ -6,6 +6,8 @@
 
 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 };
 
+const float4 bar = (float4){ 1.0, 2.0, 3.0, __builtin_inff() };
+
 float4 test1(float4 V) {
   return V.wzyx+V;
 }