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
This commit is contained in:
Dale Johannesen 2009-09-24 18:38:21 +00:00
parent c338499525
commit 07de8d1acf

View File

@ -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>
<!-- _______________________________________________________________________ -->