summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-01-21 20:32:55 +0000
committerDale Johannesen <dalej@apple.com>2009-01-21 20:32:55 +0000
commit1f86498f9356864881356f4c6815d31e1bdeddb7 (patch)
treee5504821f989aa3d296dda3d335994580d4d2306 /llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
parente387d9ed5b6832a877a895a6449b53b2f4e816a0 (diff)
downloadbcm5719-llvm-1f86498f9356864881356f4c6815d31e1bdeddb7.tar.gz
bcm5719-llvm-1f86498f9356864881356f4c6815d31e1bdeddb7.zip
Do not use host floating point types when emitting
ASCII IR; loading and storing these can change the bits of NaNs on some hosts. Remove or add warnings at a few other places using host floating point; this is a bad thing to do in general. llvm-svn: 62712
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll b/llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
index 47f2573a180..cc001f0334c 100644
--- a/llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
+++ b/llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
@@ -1,8 +1,8 @@
; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep 0x7FF8000000000000 | count 7
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep 0x7FF80000FFFFFFFF | count 5
+; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep 0x7FF00000FFFFFFFF | count 5
; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep {0\\.0} | count 3
; RUN: llvm-as < %s | opt -simplifycfg -instcombine | llvm-dis | grep {3\\.5} | count 1
-; XFAIL: x86_64
+;
; ModuleID = 'apf.c'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
OpenPOWER on IntegriCloud