summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGen/ocu-vector.c4
-rw-r--r--clang/test/Parser/ocu_vector_components.c6
-rw-r--r--clang/test/Sema/vector-init.c2
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 };
OpenPOWER on IntegriCloud