[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)
commit7146ef854266f1c631845ca9b6de316933eb55f4
tree3cf0f58cb750ca8c1cd24298a6076cc51a3672df
parent177585d1d9bfb1589b5281148bd6c6e2f09f66a3
[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.

llvm-svn: 201381
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/neon-v1i1-setcc.ll [new file with mode: 0644]