| commit | abae6b588beb31864570c4c09c7335bfd7dd8ae5 | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Sat Mar 19 04:53:02 2016 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Sat Mar 19 04:53:02 2016 +0000 |
| tree | 050dd0f247876ef21644920adf37cdc0c1ee82f1 | |
| parent | cdf2873e36d0ec51fa02e1713aa34fb6762475c0 [diff] |
[SimplifyLibCalls] Only consider sinpi/cospi functions within the same function The sinpi/cospi can be replaced with sincospi to remove unnecessary computations. However, we need to make sure that the calls are within the same function! This fixes PR26993. llvm-svn: 263875