[ARM] make vminnm/vmaxnm work with ?le, ?ge and no-nans-fp-math
authorScott Douglass <sdouglass@arm.com>
Wed, 8 Apr 2015 17:18:28 +0000 (17:18 +0000)
committerScott Douglass <sdouglass@arm.com>
Wed, 8 Apr 2015 17:18:28 +0000 (17:18 +0000)
commit7e2bc24e05f9b16174ec9f605a55ba533ef47f02
treea72f92c58fdb29ff83a4bce4f15d8a75b5da5bfe
parent912be27c05c02162d61047efc9be870c4e3e89bf
[ARM] make vminnm/vmaxnm work with ?le, ?ge and no-nans-fp-math

Because -menable-no-nans causes fcmp conditions to be rewritten
without 'o' or 'u' the recognition code in needs to cope. Also
extended it to handle 'le' and 'ge.

Differential Revision: http://reviews.llvm.org/D8725

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