commit | bc870037f66cc2e9096241c573bf1b7211fccf7b | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Aug 31 18:19:35 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Aug 31 18:19:35 2013 +0000 |
tree | f9aa1247eae479103fd32384fb983f65fb7b7838 | |
parent | c94e7b50c36ce866772e269f1541f49cbf114d27 [diff] |
SimplifyLibCalls: When emitting an overloaded fp function check that it's available. The existing code missed some edge cases when e.g. we're going to emit sqrtf but only the availability of sqrt was checked. This happens on odd platforms like windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189724 91177308-0d34-0410-b5e6-96231b3b80d8