summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-09-24 18:38:21 +0000
committerDale Johannesen <dalej@apple.com>2009-09-24 18:38:21 +0000
commit07de8d1acf10117cac2cc53f1cb0ae888be6a5bc (patch)
tree538bf28bb9929c36e4baa3a246d3d946eed142ee /docs
parentc3384995258efcec26acf3a88715dc99cd871c3e (diff)
downloadllvm-07de8d1acf10117cac2cc53f1cb0ae888be6a5bc.tar.gz
llvm-07de8d1acf10117cac2cc53f1cb0ae888be6a5bc.tar.bz2
llvm-07de8d1acf10117cac2cc53f1cb0ae888be6a5bc.tar.xz
Clarify that llvm attaches C language semantics to
functions with names that match the C library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82701 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index bdc9e17064..1331b021c1 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -5045,6 +5045,13 @@ Loop: ; Infinite loop that counts from 0 on up...
%ZZ = call zeroext i32 @bar() <i>; Return value is %zero extended</i>
</pre>
+<p>llvm treats calls to some functions with names and arguments that match the
+standard C library as being the C library functions, and may perform
+optimizations or generate code for them under that assumption. These
+functions currently include:
+acos, asin, atan, atan2, ceil, cos, cosf, cosh, exp, fabs, floor, fmod, log,
+log10, malloc, pow, sin, sinh, sqrt, sqrtf, sin, sinf, tan, tanh.</p>
+
</div>
<!-- _______________________________________________________________________ -->