New testcase, do not emit a call to __builtin_sqrt, emit a call to sqrt instead!
authorChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2004 19:08:12 +0000 (19:08 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2004 19:08:12 +0000 (19:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11668 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2004-02-20-Builtins.c.tr [new file with mode: 0644]

diff --git a/test/CFrontend/2004-02-20-Builtins.c.tr b/test/CFrontend/2004-02-20-Builtins.c.tr
new file mode 100644 (file)
index 0000000..82b7dc1
--- /dev/null
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc -O3 -xc %s -c -o - | llvm-dis | not grep builtin
+
+void zsqrtxxx(float num) {
+   num = sqrt(num);
+}
+