summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-01 03:32:16 +0000
committerChris Lattner <sabre@nondot.org>2010-01-01 03:32:16 +0000
commit39f18e545e1171fa0c27b0838a070238e967e56a (patch)
treeff457f017e8afbd2697349b44b6649ed4cbc317c /llvm/utils
parent5967840a5faa53d646186d3767235fe2f0ca064c (diff)
downloadbcm5719-llvm-39f18e545e1171fa0c27b0838a070238e967e56a.tar.gz
bcm5719-llvm-39f18e545e1171fa0c27b0838a070238e967e56a.zip
Teach codegen to lower llvm.powi to an efficient (but not optimal)
multiply sequence when the power is a constant integer. Before, our codegen for std::pow(.., int) always turned into a libcall, which was really inefficient. This should also make many gfortran programs happier I'd imagine. llvm-svn: 92388
Diffstat (limited to 'llvm/utils')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud