fdiv/frem of undef can produce undef, because the undef operand
authorChris Lattner <sabre@nondot.org>
Tue, 19 Feb 2008 06:12:18 +0000 (06:12 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Feb 2008 06:12:18 +0000 (06:12 +0000)
commit50b2ca4c73c614574a847c43ad9b87301367c59b
treebf42bc8c4bdce01a1b61083ee13e53712b964e08
parent389056110f861ef8f5af5c3c10ddd854d260a0b8
fdiv/frem of undef can produce undef, because the undef operand
can be a SNaN.  We could be more aggressive and turn this into
unreachable, but that is less nice, and not really worth it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47313 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp