diff options
author | Jin-Gu Kang <jaykang10@imrc.kist.re.kr> | 2013-06-08 02:15:36 +0000 |
---|---|---|
committer | Jin-Gu Kang <jaykang10@imrc.kist.re.kr> | 2013-06-08 02:15:36 +0000 |
commit | 0b5ca604a9475fe210451805d035119820f0e297 (patch) | |
tree | d311f6301a04656d3c949f8626f290c222dea6da /clang/test/CodeGen/ext-vector.c | |
parent | 60a24424761dcca1e74e84c521d8d1863708b00e (diff) | |
download | bcm5719-llvm-0b5ca604a9475fe210451805d035119820f0e297.tar.gz bcm5719-llvm-0b5ca604a9475fe210451805d035119820f0e297.zip |
Added a type checking which handle the case of an ext vector and integral scalar
llvm-svn: 183602
Diffstat (limited to 'clang/test/CodeGen/ext-vector.c')
-rw-r--r-- | clang/test/CodeGen/ext-vector.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/ext-vector.c b/clang/test/CodeGen/ext-vector.c index a9fa1511758..6fcefbfd358 100644 --- a/clang/test/CodeGen/ext-vector.c +++ b/clang/test/CodeGen/ext-vector.c @@ -286,3 +286,8 @@ int4 test15(uint4 V0) { V = V || V; return V; } + +// CHECK: @test16 +void test16(float2 a, float2 b) { + float2 t0 = (a + b) / 2; +} |