Add some tests which had heretofore evaded 'git add'.

llvm-svn: 157591
This commit is contained in:
Peter Collingbourne 2012-05-28 20:42:59 +00:00
parent 3a78a47ace
commit 44a079aa23
2 changed files with 6 additions and 0 deletions

3
libclc/test/add_sat.cl Normal file
View File

@ -0,0 +1,3 @@
__kernel void foo(__global char *a, __global char *b, __global char *c) {
*a = add_sat(*b, *c);
}

3
libclc/test/as_type.cl Normal file
View File

@ -0,0 +1,3 @@
__kernel void foo(int4 *x, float4 *y) {
*x = as_int4(*y);
}