commit | cc2e1c221c33fb117e59ee92250e7e0d3b1c10ef | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon Jan 08 17:38:09 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon Jan 08 17:38:09 2018 +0000 |
tree | 7cf7a11e44157fffe8643d1b092e97b788609d18 | |
parent | 1ccef220b2eefd2be92f622ec8d4d557ca62b520 [diff] |
[TargetLibraryInfo] fix finite mathlib function availability This patch was part of: https://reviews.llvm.org/D41338 ...but we can expose the bug in IR via constant propagation as shown in the test. Unless the triple includes 'linux', we should not fold these because the functions don't exist on other platforms (yet?). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322010 91177308-0d34-0410-b5e6-96231b3b80d8