diff options
author | Dale Johannesen <dalej@apple.com> | 2009-09-24 18:38:21 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-09-24 18:38:21 +0000 |
commit | 07de8d1acf10117cac2cc53f1cb0ae888be6a5bc (patch) | |
tree | 538bf28bb9929c36e4baa3a246d3d946eed142ee | |
parent | c3384995258efcec26acf3a88715dc99cd871c3e (diff) | |
download | external_llvm-07de8d1acf10117cac2cc53f1cb0ae888be6a5bc.zip external_llvm-07de8d1acf10117cac2cc53f1cb0ae888be6a5bc.tar.gz external_llvm-07de8d1acf10117cac2cc53f1cb0ae888be6a5bc.tar.bz2 |
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
-rw-r--r-- | docs/LangRef.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index bdc9e17..1331b02 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> <!-- _______________________________________________________________________ --> |