dashboard
repositories
activity
search
login
lzh
/
A133
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
add vs6621 support in android
lin
2025-08-21
57113df3a0e2be01232281fad9a5f2c060567981
[~lzh/A133.git]
/
android
/
external
/
clang
/
test
/
CodeGenOpenCL
/
vectorLoadStore.cl
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | FileCheck %s
typedef char char3 __attribute((ext_vector_type(3)));;
// Check for optimized vec3 load/store which treats vec3 as vec4.
void foo(char3 *P, char3 *Q) {
*P = *Q;
// CHECK: %{{.*}} = shufflevector <4 x i8> %{{.*}}, <4 x i8> undef, <3 x i32> <i32 0, i32 1, i32 2>
}