diff options
author | Duncan Sands <baldrick@free.fr> | 2012-04-07 20:04:00 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-04-07 20:04:00 +0000 |
commit | 961d666be4f3714452ff9f15470f9255d85f0506 (patch) | |
tree | 3d1f81853d29f25e0f93ae99c3e7d85ded0d50f4 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 5cd79bc14ca51019af4db735d13eac95dab088ed (diff) |
Convert floating point division by a constant into multiplication by the
reciprocal if converting to the reciprocal is exact. Do it even if inexact
if -ffast-math. This substantially speeds up ac.f90 from the polyhedron
benchmarks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions