implement PR9315, constant folding exp2 in terms of pow (since hosts without
commit805fa97a0f5ff61624855da37d4881708fb8f0fb
authorChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 22:22:35 +0000 (22 22:22 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 22:22:35 +0000 (22 22:22 +0000)
tree50dbb9ec1bbd4c44e392db4e6746a6a34911c528
parent1ec11fb8b502971071a57b8b2de129f86bd41de0
implement PR9315, constant folding exp2 in terms of pow (since hosts without
C99 runtimes don't have exp2).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131872 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp
test/Transforms/ConstProp/calls.ll