Make sure sin, cos, sqrt calls are marked readonly
authorDale Johannesen <dalej@apple.com>
Fri, 25 Sep 2009 18:00:35 +0000 (18:00 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 25 Sep 2009 18:00:35 +0000 (18:00 +0000)
commita45bfd31de14321262dd5f5123d04fc953a79ff1
treee02657368fd156634af51ad1431ed74eeaa2b7c9
parent94638f0081b6ec8c7cc5ad9fec8ddbdd6824d90d
Make sure sin, cos, sqrt calls are marked readonly
before producing FSIN, FCOS, FSQRT.  If they aren't
so marked we have to assume they might set errno.

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