Changeset View
Changeset View
Standalone View
Standalone View
test/CodeGen/vector.c
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
// CHECK: icmp eq i32 | // CHECK: icmp eq i32 | ||||
typedef int vec_int2 __attribute__((vector_size(8))); | typedef int vec_int2 __attribute__((vector_size(8))); | ||||
vec_int2 lax_vector_compare2(long long x, vec_int2 y) { | vec_int2 lax_vector_compare2(long long x, vec_int2 y) { | ||||
y = x == y; | y = x == y; | ||||
return y; | return y; | ||||
} | } | ||||
// CHECK: define void @lax_vector_compare2(<2 x i32>* {{.*sret.*}}, i64 {{.*}}, i64 {{.*}}) | // CHECK: define void @lax_vector_compare2(<2 x i32>* {{.*sret.*}}, i64 {{.*}}, x86_mmx {{.*}}) | ||||
// CHECK: icmp eq <2 x i32> | // CHECK: icmp eq <2 x i32> |