]> granicus.if.org Git - llvm/commit
[InstCombine] Reorder pow() transformations (NFC)
authorEvandro Menezes <e.menezes@samsung.com>
Fri, 12 Jul 2019 00:33:49 +0000 (00:33 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Fri, 12 Jul 2019 00:33:49 +0000 (00:33 +0000)
commitc36da86394dc896c36dda2896cd8bc8336a735f8
tree090fd3edd4239c849411db41958561a47cde1162
parent44212f4ac86fb5e3e53cd7c20f7524e96a360dc7
[InstCombine] Reorder pow() transformations (NFC)

Move the transformation from `powf(x, itofp(y))` to `powi(x, y)` to the
group of transformations related to the exponent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365851 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp