diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2016-03-19 04:53:02 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2016-03-19 04:53:02 +0000 |
| commit | abae6b588beb31864570c4c09c7335bfd7dd8ae5 (patch) | |
| tree | 050dd0f247876ef21644920adf37cdc0c1ee82f1 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
| parent | cdf2873e36d0ec51fa02e1713aa34fb6762475c0 (diff) | |
| download | llvm-abae6b588beb31864570c4c09c7335bfd7dd8ae5.zip llvm-abae6b588beb31864570c4c09c7335bfd7dd8ae5.tar.gz llvm-abae6b588beb31864570c4c09c7335bfd7dd8ae5.tar.bz2 | |
[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
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions
