[llvm-commits] [llvm] r114202 - /llvm/trunk/test/Transforms/GlobalOpt/ctor-list-opt.ll

Dan Gohman gohman at apple.com
Fri Sep 17 13:25:43 PDT 2010


Author: djg
Date: Fri Sep 17 15:25:43 2010
New Revision: 114202

URL: http://llvm.org/viewvc/llvm-project?rev=114202&view=rev
Log:
Fix this test to avoid an "inexact" fold.

Modified:
    llvm/trunk/test/Transforms/GlobalOpt/ctor-list-opt.ll

Modified: llvm/trunk/test/Transforms/GlobalOpt/ctor-list-opt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalOpt/ctor-list-opt.ll?rev=114202&r1=114201&r2=114202&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GlobalOpt/ctor-list-opt.ll (original)
+++ llvm/trunk/test/Transforms/GlobalOpt/ctor-list-opt.ll Fri Sep 17 15:25:43 2010
@@ -74,7 +74,7 @@
 declare double @cos(double)
 
 define internal void @CTOR8() {
-	%X = call double @cos( double 1.000000e+00 )		; <double> [#uses=1]
+	%X = call double @cos( double 0.000000e+00 )		; <double> [#uses=1]
 	store double %X, double* @D
 	ret void
 }





More information about the llvm-commits mailing list