Fix this test to avoid an "inexact" fold.
authorDan Gohman <gohman@apple.com>
Fri, 17 Sep 2010 20:25:43 +0000 (20:25 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 17 Sep 2010 20:25:43 +0000 (20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114202 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/GlobalOpt/ctor-list-opt.ll

index 887e7ee643c5de084cf3de58674f13814a06d77b..7e90bc1a62722efa16b658052f89e3ab5fa88976 100644 (file)
@@ -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 )            ; <double> [#uses=1]
+       %X = call double @cos( double 0.000000e+00 )            ; <double> [#uses=1]
        store double %X, double* @D
        ret void
 }