diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-20 19:08:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-20 19:08:12 +0000 |
commit | 54e4e20286ee28023867a5f4fa072eaae3674d2f (patch) | |
tree | 5f1855e51a267c6daf02989726eb8bd232e321a1 | |
parent | 98328745041aa3c352796347d89cd62d5b6ab808 (diff) | |
download | external_llvm-54e4e20286ee28023867a5f4fa072eaae3674d2f.zip external_llvm-54e4e20286ee28023867a5f4fa072eaae3674d2f.tar.gz external_llvm-54e4e20286ee28023867a5f4fa072eaae3674d2f.tar.bz2 |
New testcase, do not emit a call to __builtin_sqrt, emit a call to sqrt instead!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11668 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CFrontend/2004-02-20-Builtins.c.tr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2004-02-20-Builtins.c.tr b/test/CFrontend/2004-02-20-Builtins.c.tr new file mode 100644 index 0000000..82b7dc1 --- /dev/null +++ b/test/CFrontend/2004-02-20-Builtins.c.tr @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -O3 -xc %s -c -o - | llvm-dis | not grep builtin + +void zsqrtxxx(float num) { + num = sqrt(num); +} + |