summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorDavid Bolvansky <david.bolvansky@gmail.com>2019-07-10 14:43:27 +0000
committerDavid Bolvansky <david.bolvansky@gmail.com>2019-07-10 14:43:27 +0000
commit0735cc1954d84afa742abadf78e4136489f7cd0d (patch)
tree34b46971f5c62bb14fd7ec7df7166e5542b6f988 /lldb/packages/Python/lldbsuite/test/python_api
parent9cd82a4fbd2ded1e4d6b3815d153b28057ee1e75 (diff)
downloadbcm5719-llvm-0735cc1954d84afa742abadf78e4136489f7cd0d.tar.gz
bcm5719-llvm-0735cc1954d84afa742abadf78e4136489f7cd0d.zip
[InstCombine] pow(C,x) -> exp2(log2(C)*x)
Summary: Transform pow(C,x) To exp2(log2(C)*x) if C > 0, C != inf, C != NaN (and C is not power of 2, since we have some fold for such case already). log(C) is folded by the compiler and exp2 is much faster to compute than pow. Reviewers: spatel, efriedma, evandro Reviewed By: evandro Subscribers: lebedev.ri, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64099 llvm-svn: 365637
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud