[llvm-commits] [llvm] r85853 - /llvm/trunk/test/CodeGen/Generic/intrinsics.ll
Nate Begeman
natebegeman at mac.com
Mon Nov 2 18:19:31 PST 2009
Author: sampo
Date: Mon Nov 2 20:19:31 2009
New Revision: 85853
URL: http://llvm.org/viewvc/llvm-project?rev=85853&view=rev
Log:
Declare sin & cos as readonly so they match the code in SelectionDAGBuild
Modified:
llvm/trunk/test/CodeGen/Generic/intrinsics.ll
Modified: llvm/trunk/test/CodeGen/Generic/intrinsics.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/intrinsics.ll?rev=85853&r1=85852&r2=85853&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/intrinsics.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/intrinsics.ll Mon Nov 2 20:19:31 2009
@@ -14,9 +14,9 @@
; 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 @@
; 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]
More information about the llvm-commits
mailing list