[AArch64]Fix the assertion failure caused by "v1i1 SETCC" DAG node.
authorHao Liu <Hao.Liu@arm.com>
Fri, 14 Feb 2014 02:21:56 +0000 (02:21 +0000)
committerHao Liu <Hao.Liu@arm.com>
Fri, 14 Feb 2014 02:21:56 +0000 (02:21 +0000)
commit9c4127a6a57de4affe71b9dd1ac6b3b8ebfe99e3
treefcf19ec6b340fa3a221ca390fbfb388614e2055b
parent35d2f6151024a63b4bf84730aaa88e34413a8220
[AArch64]Fix the assertion failure caused by "v1i1 SETCC" DAG node.
As v1i1 is illegal, the type legalizer tries to scalarize such node. But if the type operands of SETCC is legal, the scalarization algorithm will cause an assertion failure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201381 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/neon-v1i1-setcc.ll [new file with mode: 0644]