forked from OSchip/llvm-project
Test that the CFE compiles memset and bzero to llvm.memset
llvm-svn: 11435
This commit is contained in:
parent
cf81fc70a4
commit
cd947e4b8b
|
@ -0,0 +1,6 @@
|
|||
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset | wc -l | grep 3
|
||||
|
||||
void test(int* X, char *Y) {
|
||||
memset(X, 4, 1000);
|
||||
bzero(Y, 100);
|
||||
}
|
Loading…
Reference in New Issue