diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-22 18:50:01 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-22 18:50:01 +0000 |
commit | a148fbcb5f441a089ea33067473fae5a8d5f778e (patch) | |
tree | 0f19993061e29288c8e9c95b95027094814d04d9 /test/Analysis/array-struct.c | |
parent | 5c1dcc59754c539cddc967b938d7b3a688d0c430 (diff) |
Make ceil/floor/nearbyint/rint/round const even with -fmath-errno.
The conditions described by POSIX can never happen with IEEE-754 floats.
When the function is const we can emit a single sse4.1 instruction for
it, without losing anything :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions