Adds missing TLI check for library simplification of
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Mon, 19 Aug 2013 06:55:47 +0000 (06:55 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Mon, 19 Aug 2013 06:55:47 +0000 (06:55 +0000)
commit2063637fa7c9ebc880cf858674eb45727d4ea295
treecd592484d3021840d068faf0e36e852ef0bf7c53
parenta0e735ee16f439675c1842e47ba3149aa226bdc0
Adds missing TLI check for library simplification of
* pow(x, 0.5) -> fabs(sqrt(x))
* pow(2.0, x) -> exp2(x)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188656 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/pow-1.ll
test/Transforms/InstCombine/pow-3.ll [new file with mode: 0644]