1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
5 typedef unsigned char uchar4
__attribute__ ((vector_size (4)));
8 // CHECK: add <4 x i8> {{.*}}, splat (i8 2)
15 // CHECK: sub <4 x i8> {{.*}}, splat (i8 2)
22 // CHECK: mul <4 x i8> {{.*}}, splat (i8 2)
29 // CHECK: udiv <4 x i8> {{.*}}, splat (i8 2)
35 typedef __attribute__(( ext_vector_type(4) )) unsigned char uchar4_ext
;
38 // CHECK: udiv <4 x i8> %{{.*}}, splat (i8 3)
39 uchar4_ext
div3_ext(uchar4_ext v
)