diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-01 03:32:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-01 03:32:16 +0000 |
| commit | 39f18e545e1171fa0c27b0838a070238e967e56a (patch) | |
| tree | ff457f017e8afbd2697349b44b6649ed4cbc317c /llvm/utils | |
| parent | 5967840a5faa53d646186d3767235fe2f0ca064c (diff) | |
| download | bcm5719-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

