[InstCombine] Refactor the simplification of pow() (NFC)
authorEvandro Menezes <e.menezes@samsung.com>
Fri, 17 Aug 2018 17:59:53 +0000 (17:59 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Fri, 17 Aug 2018 17:59:53 +0000 (17:59 +0000)
commit4b39010afb118db31db8b5f6f43e2e12c8c8def5
treed42669558c6c860a7d2f2210c96d13a7ddaf3a91
parente219d384f9cb4d675a9b9c22653af57cb76be3a6
[InstCombine] Refactor the simplification of pow() (NFC)

Refactor all cases dealing with `exp{,2,10}()` into one function in
preparation for D49273.  Otherwise, NFC.

llvm-svn: 340061
llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp