commit | 5f3121a8b0ee1fdd28b7d4dab880cecd5ea513a5 | [log] [tgz] |
---|---|---|
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Fri Feb 08 19:50:58 2019 +0000 |
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Fri Feb 08 19:50:58 2019 +0000 |
tree | f2c91fcf489f0d844e69fdf7a7672104ed0de626 | |
parent | 05a2d7fcc159bed9366069f7c8caa6283ea1e3c6 [diff] |
[DAGCombine] Optimize pow(X, 0.75) to sqrt(X) * sqrt(sqrt(X)) The sqrt case is faster and we already do this for the case where the exponent is 0.25. This adds the 0.75 case which is also not sensitive to signed zeros. Patch by Whitney Tsang (Whitney) Differential revision: https://reviews.llvm.org/D57434 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353557 91177308-0d34-0410-b5e6-96231b3b80d8