From 1ba2ba3af8852ccfcaa22da29bcaff6405bdd810 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 26 Jul 2018 06:24:11 +0000 Subject: [PATCH] [ConstProp] Fix calls-math-finite.ll on FreeBSD FreeBSD's log(3.0) is less precise than glibc and musl. Let's forgive its rounding error of more than half an ulp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338009 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/ConstProp/calls-math-finite.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Transforms/ConstProp/calls-math-finite.ll b/test/Transforms/ConstProp/calls-math-finite.ll index 27130455833..93741612fc5 100644 --- a/test/Transforms/ConstProp/calls-math-finite.ll +++ b/test/Transforms/ConstProp/calls-math-finite.ll @@ -41,7 +41,7 @@ define void @T() { ; CHECK-NEXT: store double 0x402422A497D6185E, double* [[SLOT]] ; CHECK-NEXT: store double 0x403415E5BF6FB106, double* [[SLOT]] ; CHECK-NEXT: store double 8.000000e+00, double* [[SLOT]] -; CHECK-NEXT: store double 0x3FF193EA7AAD030B, double* [[SLOT]] +; CHECK-NEXT: store double 0x3FF193EA7AAD030{{[AB]}}, double* [[SLOT]] ; CHECK-NEXT: store double 0x3FDE8927964FD5FD, double* [[SLOT]] ; CHECK-NEXT: store double 1.000000e+00, double* [[SLOT]] ; CHECK-NEXT: store double 0x40240926E70949AE, double* [[SLOT]] -- 2.50.1