aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/builtinshufflevector.c
blob: 9a3ae610282e0db9026434b2c46450e2d72d8a1d (plain) (blame)
1
2
3
4
5
// RUN: clang-cc -emit-llvm < %s | grep 'shufflevector' | count 1
typedef int v4si __attribute__ ((vector_size (16)));

v4si a(v4si x, v4si y) {return __builtin_shufflevector(x, y, 3, 2, 5, 7);}