Generate FSQRT from calls to the sqrt function, which
authorDale Johannesen <dalej@apple.com>
Fri, 25 Sep 2009 17:23:22 +0000 (17:23 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 25 Sep 2009 17:23:22 +0000 (17:23 +0000)
commit52fb79b7f9792999b18c1230b5ababaa48df9c85
tree04c0d7219c551054dfd8f7f3f239f3380c077678
parent2702e6aa53f603b20c3e46364bc1756788bd291a
Generate FSQRT from calls to the sqrt function, which
allows appropriate backends to generate a sqrt instruction.

On x86, this isn't done at -O0 because we go through
FastISel instead.  This is a behavior change from before
this series of sqrt patches started.  I think this is OK
considering that compile speed is most important at -O0, but
could be convinced otherwise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82778 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp