[cfe-dev] test/SemaOpenCL/init.cl
Anton Lokhmotov
Anton.Lokhmotov at arm.com
Fri Apr 1 10:45:15 PDT 2011
A quick question regarding
http://llvm.org/svn/llvm-project/cfe/trunk/test/SemaOpenCL/init.cl. If it's
an OpenCL test, why does it use pseudo-NEON data types?
Would the following serve the same purpose:
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
typedef float float8 __attribute((ext_vector_type(8)));
typedef float float4 __attribute((ext_vector_type(4)));
float8 f(float8 x) {
float4 lo, hi;
return (float8) (lo, hi);
}
Anton.
More information about the cfe-dev
mailing list