[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / 2004-02-13-Memset.c
bloba19eb517ee08c9297b17029938e498cff1199ead
1 // RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.memset | count 3
3 typedef __SIZE_TYPE__ size_t;
4 void *memset(void*, int, size_t);
5 void bzero(void*, size_t);
7 void test(int* X, char *Y) {
8 // CHECK: call ptr llvm.memset
9 memset(X, 4, 1000);
10 // CHECK: call void bzero
11 bzero(Y, 100);