summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2015-02-23 19:15:16 +0000
committerChad Rosier <mcrosier@codeaurora.org>2015-02-23 19:15:16 +0000
commit543900539f7c166d453e5bd5175f9461dbbd4319 (patch)
tree0d91a2a4c54e868976bd98691c8d95b4b05e201e /llvm/lib/Transforms/Utils/ValueMapper.cpp
parent7c3310694cfdbf2d7350abfeac17733ac9000a9e (diff)
downloadbcm5719-llvm-543900539f7c166d453e5bd5175f9461dbbd4319.tar.gz
bcm5719-llvm-543900539f7c166d453e5bd5175f9461dbbd4319.zip
Prevent hoisting fmul from THEN/ELSE to IF if there is fmsub/fmadd opportunity.
This patch adds the isProfitableToHoist API. For AArch64, we want to prevent a fmul from being hoisted in cases where it is more profitable to form a fmsub/fmadd. Phabricator Review: http://reviews.llvm.org/D7299 Patch by Lawrence Hu <lawrence@codeaurora.org> llvm-svn: 230241
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud