forked from OSchip/llvm-project
[Docs] add note to avoid 'errno' for better vectorization (PR40265)
This is a partial fix for the documentation improvements requested in: https://bugs.llvm.org/show_bug.cgi?id=40265 llvm-svn: 350845
This commit is contained in:
parent
9b368f39a9
commit
080502e923
|
@ -340,6 +340,10 @@ instruction is available.
|
|||
f[i] = floorf(f[i]);
|
||||
}
|
||||
|
||||
Note that the optimizer may not be able to vectorize math library functions
|
||||
that access external state such as "errno". To allow better optimization of
|
||||
C/C++ math library functions, use "-fno-math-errno".
|
||||
|
||||
Partial unrolling during vectorization
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue