Declare sin & cos as readonly so they match the code in SelectionDAGBuild

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman 2009-11-03 02:19:31 +00:00
parent 7aaf94bb0d
commit e4a9f9c450

View File

@ -14,9 +14,9 @@ define double @test_sqrt(float %F) {
; SIN
declare float @sinf(float)
declare float @sinf(float) readonly
declare double @sin(double)
declare double @sin(double) readonly
define double @test_sin(float %F) {
%G = call float @sinf( float %F ) ; <float> [#uses=1]
@ -27,9 +27,9 @@ define double @test_sin(float %F) {
; COS
declare float @cosf(float)
declare float @cosf(float) readonly
declare double @cos(double)
declare double @cos(double) readonly
define double @test_cos(float %F) {
%G = call float @cosf( float %F ) ; <float> [#uses=1]