Make the nomathbuiltin.c test less demanding.
authorEli Bendersky <eliben@google.com>
Tue, 23 Jul 2013 01:09:17 +0000 (01:09 +0000)
committerEli Bendersky <eliben@google.com>
Tue, 23 Jul 2013 01:09:17 +0000 (01:09 +0000)
This should hopefully unbreak the Windows bots at http://bb.pgr.jp

llvm-svn: 186906

clang/test/CodeGen/nomathbuiltin.c

index edd4823..f80cd91 100644 (file)
@@ -1,17 +1,11 @@
 // RUN: %clang_cc1 -fno-math-builtin -emit-llvm -o - %s | FileCheck %s
 
-// Check that the -fno-math-builtin option for -cc1 is working properly,
-// by disabling just math builtin generation (other lib functions will
-// be generated as builtins).
+// Check that the -fno-math-builtin option for -cc1 is working properly.
 
-extern char *p1, *p2;
 
 double pow(double, double);
-void *memcpy(void *, const void *, unsigned long);
 
 double foo(double a, double b) {
-  memcpy(p1, p2, (unsigned long) b);
-// CHECK: call void @llvm.memcpy
   return pow(a, b);
 // CHECK: call double @pow
 }