[cfe-commits] r136179 - /cfe/trunk/test/CodeGen/2004-02-13-Memset.c
Eric Christopher
echristo at apple.com
Tue Jul 26 16:18:10 PDT 2011
Author: echristo
Date: Tue Jul 26 18:18:10 2011
New Revision: 136179
URL: http://llvm.org/viewvc/llvm-project?rev=136179&view=rev
Log:
Try a little hack to fix the memset duplication on windows.
Modified:
cfe/trunk/test/CodeGen/2004-02-13-Memset.c
Modified: cfe/trunk/test/CodeGen/2004-02-13-Memset.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2004-02-13-Memset.c?rev=136179&r1=136178&r2=136179&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2004-02-13-Memset.c (original)
+++ cfe/trunk/test/CodeGen/2004-02-13-Memset.c Tue Jul 26 18:18:10 2011
@@ -1,7 +1,11 @@
// RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.memset | count 3
+#ifndef memset
void *memset(void*, int, unsigned long);
+#endif
+#ifndef bzero
void bzero(void*, unsigned long);
+#endif
void test(int* X, char *Y) {
// CHECK: call i8* llvm.memset
More information about the cfe-commits
mailing list