summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-17 20:25:43 +0000
committerDan Gohman <gohman@apple.com>2010-09-17 20:25:43 +0000
commit4e51a12ed77d8ec42493eaed0d9f8486f678ccad (patch)
treef5612b7d7ba952a72928e089800863641cc8f481 /test
parentd8c0a51362cfb7d08bec20e2341f8cc73561526a (diff)
downloadllvm-4e51a12ed77d8ec42493eaed0d9f8486f678ccad.tar.gz
llvm-4e51a12ed77d8ec42493eaed0d9f8486f678ccad.tar.bz2
llvm-4e51a12ed77d8ec42493eaed0d9f8486f678ccad.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/GlobalOpt/ctor-list-opt.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalOpt/ctor-list-opt.ll b/test/Transforms/GlobalOpt/ctor-list-opt.ll
index 887e7ee643..7e90bc1a62 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 ) ; <double> [#uses=1]
+ %X = call double @cos( double 0.000000e+00 ) ; <double> [#uses=1]
store double %X, double* @D
ret void
}