summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-04-07 20:04:00 +0000
committerDuncan Sands <baldrick@free.fr>2012-04-07 20:04:00 +0000
commit5f8397a9344aafd3591f03d1dbb93688d1fee728 (patch)
tree6dd69d749f106dc7b469c4faeb47b7d38387f187 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent75a1cf327a96f1b1ea9a033a1d80fd49830ddaac (diff)
downloadbcm5719-llvm-5f8397a9344aafd3591f03d1dbb93688d1fee728.tar.gz
bcm5719-llvm-5f8397a9344aafd3591f03d1dbb93688d1fee728.zip
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. llvm-svn: 154265
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud