From: NAKAMURA Takumi <geek4civic@gmail.com> Date: Fri, 4 Nov 2016 18:50:45 +0000 (+0000) Subject: llvm/test/Transforms/DCE/calls-errno.ll: Suppress checking @pow(+0,-1). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=933679bb33cf509096de499c6da237d6e4e933f3;p=llvm llvm/test/Transforms/DCE/calls-errno.ll: Suppress checking @pow(+0,-1). It depends on host's pow(3), and mingw's pow doesn't raise any errors, just returns +INF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286005 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/DCE/calls-errno.ll b/test/Transforms/DCE/calls-errno.ll index fcaa299ac17..22ea04aa8f3 100644 --- a/test/Transforms/DCE/calls-errno.ll +++ b/test/Transforms/DCE/calls-errno.ll @@ -76,8 +76,8 @@ entry: %pow1 = call double @pow(double 0x7FF0000000000000, double 1.000000e+00) ; pow(0, -1) is a pole error -; CHECK-NEXT: %pow2 = call double @pow(double 0.000000e+00, double -1.000000e+00) - %pow2 = call double @pow(double 0.000000e+00, double -1.000000e+00) +; FIXME: It fails on mingw host. Suppress checking. +; %pow2 = call double @pow(double 0.000000e+00, double -1.000000e+00) ; fmod(inf, nan) is nan %fmod1 = call double @fmod(double 0x7FF0000000000000, double 0x7FF0000000000001)