From 695312637c9a9090b564c1cb9c75d30aacaecc41 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. llvm-svn: 114198 --- llvm/test/Transforms/InstCombine/fold-calls.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/Transforms/InstCombine/fold-calls.ll b/llvm/test/Transforms/InstCombine/fold-calls.ll index 2b11771969f1..504f874beaeb 100644 --- a/llvm/test/Transforms/InstCombine/fold-calls.ll +++ b/llvm/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 } -- GitLab