mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-23 19:17:17 +00:00
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:
parent
7aaf94bb0d
commit
e4a9f9c450
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user