diff options
author | Nate Begeman <natebegeman@mac.com> | 2008-04-18 23:10:10 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2008-04-18 23:10:10 +0000 |
commit | ce4d7fce6b09e0ef596cdbbe883c77676b598885 (patch) | |
tree | 53fa78e0f554adba363db449eca7507f60b8a828 /clang/test | |
parent | 423edc2384faf9baa617e02ce73e92cf29330408 (diff) | |
download | bcm5719-llvm-ce4d7fce6b09e0ef596cdbbe883c77676b598885.tar.gz bcm5719-llvm-ce4d7fce6b09e0ef596cdbbe883c77676b598885.zip |
OCUVector -> ExtVector, shorthand for extended vector, per feedback from Chris.
llvm-svn: 49942
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/ocu-vector.c | 4 | ||||
-rw-r--r-- | clang/test/Parser/ocu_vector_components.c | 6 | ||||
-rw-r--r-- | clang/test/Sema/vector-init.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGen/ocu-vector.c b/clang/test/CodeGen/ocu-vector.c index cffef339ee3..3313b127f01 100644 --- a/clang/test/CodeGen/ocu-vector.c +++ b/clang/test/CodeGen/ocu-vector.c @@ -1,7 +1,7 @@ // RUN: clang -emit-llvm %s -typedef __attribute__(( ocu_vector_type(4) )) float float4; -typedef __attribute__(( ocu_vector_type(2) )) float float2; +typedef __attribute__(( ext_vector_type(4) )) float float4; +typedef __attribute__(( ext_vector_type(2) )) float float2; float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 }; diff --git a/clang/test/Parser/ocu_vector_components.c b/clang/test/Parser/ocu_vector_components.c index 06084174af1..01e007b7442 100644 --- a/clang/test/Parser/ocu_vector_components.c +++ b/clang/test/Parser/ocu_vector_components.c @@ -1,8 +1,8 @@ // RUN: clang -fsyntax-only -verify %s -typedef __attribute__(( ocu_vector_type(2) )) float float2; -typedef __attribute__(( ocu_vector_type(3) )) float float3; -typedef __attribute__(( ocu_vector_type(4) )) float float4; +typedef __attribute__(( ext_vector_type(2) )) float float2; +typedef __attribute__(( ext_vector_type(3) )) float float3; +typedef __attribute__(( ext_vector_type(4) )) float float4; static void test() { float2 vec2, vec2_2; diff --git a/clang/test/Sema/vector-init.c b/clang/test/Sema/vector-init.c index 5436cbac8c6..1e2ba012c8f 100644 --- a/clang/test/Sema/vector-init.c +++ b/clang/test/Sema/vector-init.c @@ -1,5 +1,5 @@ // RUN: clang %s -verify -fsyntax-only -typedef __attribute__(( ocu_vector_type(4) )) float float4; +typedef __attribute__(( ext_vector_type(4) )) float float4; float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 }; |