Check for comparisons of +/- zero when optimizing less-than-or-equal and
authorBob Wilson <bob.wilson@apple.com>
Wed, 24 Feb 2010 22:15:53 +0000 (22:15 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 24 Feb 2010 22:15:53 +0000 (22:15 +0000)
commite742bb53a3e68b88eac172782fd99cd98f89f4b3
tree342764506253708aa7d8f7df8daaab52cc0d1fb7
parentc382bc3c0f476bf94303d9892af4e2cee173bfe5
Check for comparisons of +/- zero when optimizing less-than-or-equal and
greater-than-or-equal SELECT_CCs to NEON vmin/vmax instructions.  This is
only allowed when UnsafeFPMath is set or when at least one of the operands
is known to be nonzero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97065 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/neon_minmax.ll