summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/nomathbuiltin.c
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-07-23 01:09:17 +0000
committerEli Bendersky <eliben@google.com>2013-07-23 01:09:17 +0000
commite6cbf1c04f352568fb383602124e7a4c0dfcca6d (patch)
tree15a43f1387780933a282f795b0a24495628083e0 /clang/test/CodeGen/nomathbuiltin.c
parent613c69500d6621e444b2faa312ea828f56adf4c2 (diff)
downloadbcm5719-llvm-e6cbf1c04f352568fb383602124e7a4c0dfcca6d.tar.gz
bcm5719-llvm-e6cbf1c04f352568fb383602124e7a4c0dfcca6d.zip
Make the nomathbuiltin.c test less demanding.
This should hopefully unbreak the Windows bots at http://bb.pgr.jp llvm-svn: 186906
Diffstat (limited to 'clang/test/CodeGen/nomathbuiltin.c')
-rw-r--r--clang/test/CodeGen/nomathbuiltin.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/test/CodeGen/nomathbuiltin.c b/clang/test/CodeGen/nomathbuiltin.c
index edd48237999..f80cd91de9d 100644
--- a/clang/test/CodeGen/nomathbuiltin.c
+++ b/clang/test/CodeGen/nomathbuiltin.c
@@ -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
}
OpenPOWER on IntegriCloud