diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-25 23:10:17 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-25 23:10:17 +0000 |
commit | 79cb8401363fc666289bfef1e37d1faa1e94422d (patch) | |
tree | 376b58a19e0c9cc2e7c37b14d9ee28aa0c69c640 /lib/CodeGen/MachineInstr.cpp | |
parent | f344f7f008b69ea1e711c2cf80be9e660e40ee13 (diff) |
Transform pow(x, 0.5) to (x == -inf ? inf : fabs(sqrt(x))), which is
typically faster then doing a general pow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions