r186906 - Make the nomathbuiltin.c test less demanding.
Eli Bendersky
eliben at google.com
Mon Jul 22 18:09:18 PDT 2013
Author: eliben
Date: Mon Jul 22 20:09:17 2013
New Revision: 186906
URL: http://llvm.org/viewvc/llvm-project?rev=186906&view=rev
Log:
Make the nomathbuiltin.c test less demanding.
This should hopefully unbreak the Windows bots at http://bb.pgr.jp
Modified:
cfe/trunk/test/CodeGen/nomathbuiltin.c
Modified: cfe/trunk/test/CodeGen/nomathbuiltin.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/nomathbuiltin.c?rev=186906&r1=186905&r2=186906&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/nomathbuiltin.c (original)
+++ cfe/trunk/test/CodeGen/nomathbuiltin.c Mon Jul 22 20:09:17 2013
@@ -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
}
More information about the cfe-commits
mailing list