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 | f031e8ad011e9ad95d7c965936da07e3a9c42add (patch) | |
tree | f548e6e940434f362f095323d22b87f189df7433 /lib/CodeGen/LiveInterval.cpp | |
parent | 0fba8cf9ffbb4397d3ddbb51469c8819d0faf3cc (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
0 files changed, 0 insertions, 0 deletions