From: Chris Lattner Date: Fri, 20 Feb 2004 19:08:12 +0000 (+0000) Subject: New testcase, do not emit a call to __builtin_sqrt, emit a call to sqrt instead! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=54e4e20286ee28023867a5f4fa072eaae3674d2f;p=oota-llvm.git 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 --- 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 00000000000..82b7dc1f34c --- /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); +} +