From: Dan Gohman Date: Fri, 17 Sep 2010 20:25:43 +0000 (+0000) Subject: Fix this test to avoid an "inexact" fold. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4e51a12ed77d8ec42493eaed0d9f8486f678ccad;p=oota-llvm.git Fix this test to avoid an "inexact" fold. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114202 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/GlobalOpt/ctor-list-opt.ll b/test/Transforms/GlobalOpt/ctor-list-opt.ll index 887e7ee643c..7e90bc1a627 100644 --- a/test/Transforms/GlobalOpt/ctor-list-opt.ll +++ b/test/Transforms/GlobalOpt/ctor-list-opt.ll @@ -74,7 +74,7 @@ define void @setto(i32* %P, i32 %V) { declare double @cos(double) define internal void @CTOR8() { - %X = call double @cos( double 1.000000e+00 ) ; [#uses=1] + %X = call double @cos( double 0.000000e+00 ) ; [#uses=1] store double %X, double* @D ret void }