SimplifyLibCalls: Push TLI through the exp2->ldexp transform.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 4 Feb 2014 20:27:23 +0000 (20:27 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 4 Feb 2014 20:27:23 +0000 (20:27 +0000)
commitfb0ad6bd15076f0837bfe559c552b96fd4d9ec44
tree4709539b0760407a96053b1a1d07cdfa47f15c3d
parent767a3dca4c66dffc88c71cd8586679b1c55f22a8
SimplifyLibCalls: Push TLI through the exp2->ldexp transform.

For the odd case of platforms with exp2 available but not ldexp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200795 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLibraryInfo.h
lib/Target/TargetLibraryInfo.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/exp2-1.ll