etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / CodeGenOpenCL / vectorLoadStore.cl
blob44bc7bd25d453d7b4735ea61a2c40d29e9aef19e
1 // RUN: %clang_cc1 %s -emit-llvm -O0 -o - | FileCheck %s
3 typedef char char3 __attribute((ext_vector_type(3)));;
5 // Check for optimized vec3 load/store which treats vec3 as vec4.
6 void foo(char3 *P, char3 *Q) {
7 *P = *Q;
8 // CHECK: %{{.*}} = shufflevector <4 x i8> %{{.*}}, <4 x i8> undef, <3 x i32> <i32 0, i32 1, i32 2>