AArch64: skip select/setcc combine in complex case.
authorTim Northover <tnorthover@apple.com>
Fri, 29 Aug 2014 13:05:18 +0000 (13:05 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 29 Aug 2014 13:05:18 +0000 (13:05 +0000)
commit1f70cb9c146df188f665e3496a31b34182a00252
treee4939992866aad54a711b86526f8937642e1ceab
parent123c92cbe07970f370def6039426e779536e0cfe
AArch64: skip select/setcc combine in complex case.

In an llvm-stress generated test, we were trying to create a v0iN type and
asserting when that failed. This case could probably be handled by the
function, but not without added complexity and the situation it arises in is
sufficiently odd that there's probably no benefit anyway.

Should fix PR20775.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216725 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/cond-sel.ll