summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/libcalls-complex.c
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-01-06 14:35:46 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-01-06 14:35:46 +0000
commit7dbc9cf8760e07f28cea29e337ff3666624dc91d (patch)
tree535726e6c08e0a98ffbb3de5e2a3280cc32acaf6 /clang/test/CodeGen/libcalls-complex.c
parent2d0418e842e1635aaff4a642320dfa8fbf7669fd (diff)
downloadbcm5719-llvm-7dbc9cf8760e07f28cea29e337ff3666624dc91d.tar.gz
bcm5719-llvm-7dbc9cf8760e07f28cea29e337ff3666624dc91d.zip
[Driver] Add support for -fno-builtin-foo options.
Addresses PR4941 and rdar://6756912. http://reviews.llvm.org/D15195 llvm-svn: 256937
Diffstat (limited to 'clang/test/CodeGen/libcalls-complex.c')
-rw-r--r--clang/test/CodeGen/libcalls-complex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/libcalls-complex.c b/clang/test/CodeGen/libcalls-complex.c
index 22c97b6a7b3..43b70550d8b 100644
--- a/clang/test/CodeGen/libcalls-complex.c
+++ b/clang/test/CodeGen/libcalls-complex.c
@@ -1,4 +1,7 @@
// RUN: %clang_cc1 -fno-builtin -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-YES %s
+// RUN: %clang_cc1 -fno-builtin-crealf -fno-builtin-creal -fno-builtin-creall \
+// RUN: -fno-builtin-cimagf -fno-builtin-cimag -fno-builtin-cimagl -emit-llvm \
+// RUN: -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-YES %s
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-NO %s
extern float crealf(float _Complex);
OpenPOWER on IntegriCloud