From 80d6c96c2ac403e5994841de6b367ded9dbee99b Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 17 Sep 2010 20:15:53 +0000 Subject: [PATCH] Fix this test so that folding doesn't depend on a potentially "inexact" result. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114198 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/fold-calls.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Transforms/InstCombine/fold-calls.ll b/test/Transforms/InstCombine/fold-calls.ll index 2b11771969f..504f874beae 100644 --- a/test/Transforms/InstCombine/fold-calls.ll +++ b/test/Transforms/InstCombine/fold-calls.ll @@ -10,9 +10,9 @@ define double @foo() { ; This should fold. ; CHECK: @bar -; CHECK: ret double 0x3FDA6026360C2F91 +; CHECK: ret double 0.0 define double @bar() { - %t = call double @sin(double 9.0) + %t = call double @sin(double 0.0) ret double %t } -- 2.34.1