[ARM] Don't try and custom lower a vNi64 SETCC.
authorJames Molloy <james.molloy@arm.com>
Thu, 20 Aug 2015 16:33:44 +0000 (16:33 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 20 Aug 2015 16:33:44 +0000 (16:33 +0000)
commitd44dd1789ad34be8e9537f544fd3e815d7a4b721
tree44944840844682d69375097eddebea8cee15268b
parent9a6dbcb2d84d936ebfdba8cf7244feeb34fbc892
[ARM] Don't try and custom lower a vNi64 SETCC.

It won't go well. We've already marked 64-bit SETCCs as non-Custom, but it's just possible that a SETCC has a legal result type but an illegal operand type. If this happens, bail out before we create unselectable nodes.

Fixes PR24292. I tried to create a testcase but in 99% of cases we can't trigger this - not surprising that this bug has been latent since 2009.

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