[InstSimplify] remove 'nsz' requirement for frem 0, X
authorSanjay Patel <spatel@rotateright.com>
Thu, 15 Mar 2018 14:04:31 +0000 (14:04 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 15 Mar 2018 14:04:31 +0000 (14:04 +0000)
commit8f063d0c70dbd3aea79ae16a2d961bb133d2a17d
tree0a86524d3ee562dec890f5e1bd4a87eea97bc955
parent107052ff9ded599519445833d755628703027801
[InstSimplify] remove 'nsz' requirement for frem 0, X

From the LangRef definition for frem:
"The value produced is the floating-point remainder of the two operands.
This is the same output as a libm ‘fmod‘ function, but without any
possibility of setting errno. The remainder has the same sign as the
dividend. This instruction is assumed to execute in the default
floating-point environment."

llvm-svn: 327626
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/fast-math.ll