[InstCombine] fold pow(X,Y) * pow(Z,Y) -> pow(X*Z, Y) (with fast-math)
authorSanjay Patel <spatel@rotateright.com>
Fri, 13 Jan 2023 18:08:17 +0000 (13:08 -0500)
committerSanjay Patel <spatel@rotateright.com>
Fri, 13 Jan 2023 18:26:10 +0000 (13:26 -0500)
commit914576c1f0b66994ca97867676ab6074b9be6f3e
tree87345cc16bd4890fe69217ffd0b763d5fbc9cc5c
parent9230d5d6a239225fba517b651d5c8d91d216a7c4
[InstCombine] fold pow(X,Y) * pow(Z,Y) -> pow(X*Z, Y) (with fast-math)

This is one of the patterns suggested in issue #34943.
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/fmul-pow.ll