OSDN Git Service

Make special cases (0 inf nan) work for frem.
authorDale Johannesen <dalej@apple.com>
Wed, 21 Jan 2009 00:35:19 +0000 (00:35 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 21 Jan 2009 00:35:19 +0000 (00:35 +0000)
commita51f737cb681566cf65d55d8a00f6ab277662b0f
treed5c56e9057df227684d86e572915e0b5defdda95
parent8aa05c577169655d9326b1390671c583a2aee598
Make special cases (0 inf nan) work for frem.
Besides APFloat, this involved removing code
from two places that thought they knew the
result of frem(0., x) but were wrong.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62645 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APFloat.h
lib/Support/APFloat.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/VMCore/ConstantFold.cpp
test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll [new file with mode: 0644]