commit | 649040b838de11ee003a59d8e59bdc4c112390be | [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 | d45e54ec788e2195b457eb745f096d6da63022cb | |
parent | 20e3af6f8ab6e8ecd16507044f9a0dfd40f1bb40 [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263875 91177308-0d34-0410-b5e6-96231b3b80d8