commit | 59b5da6d853b4368b984700315adf7b37de05764 | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Sun Jan 18 03:20:47 2009 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Sun Jan 18 03:20:47 2009 +0000 |
tree | a87909833d6430bb5abcd31c866393a438fc67a8 | |
parent | 77ecb3a28f21496ecfdbb3d5f5b66b0d2abf48c9 [diff] [blame] |
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; }