diff options
author | Nate Begeman <natebegeman@mac.com> | 2009-11-03 02:19:31 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2009-11-03 02:19:31 +0000 |
commit | e4a9f9c450a55d2cd400d10b7e9892c993bbd3d8 (patch) | |
tree | 13f487fe89a5da850c3345319998548777f21926 /test | |
parent | 7aaf94bb0dde65e70b417208aaf859f7292a31d1 (diff) | |
download | external_llvm-e4a9f9c450a55d2cd400d10b7e9892c993bbd3d8.zip external_llvm-e4a9f9c450a55d2cd400d10b7e9892c993bbd3d8.tar.gz external_llvm-e4a9f9c450a55d2cd400d10b7e9892c993bbd3d8.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Generic/intrinsics.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Generic/intrinsics.ll b/test/CodeGen/Generic/intrinsics.ll index 9a42c3e..29bc499 100644 --- a/test/CodeGen/Generic/intrinsics.ll +++ b/test/CodeGen/Generic/intrinsics.ll @@ -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] |