AVX-512: Fixed a bug in select_cc for i1 type
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Thu, 22 Oct 2015 07:10:29 +0000 (07:10 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Thu, 22 Oct 2015 07:10:29 +0000 (07:10 +0000)
commit5c97dfdc9c15131f6523297c4de6e0456e752312
treecc27a69a778e176abc852ae8323bcb73f14fd918
parent7ad0d563a5415ffb3ad4c11889ecc799dadd1716
AVX-512: Fixed a bug in select_cc for i1 type
Fixed faiure:
LLVM ERROR: Cannot select: t33: i1 = select_cc t25, Constant:i32<0>, t45, t42, seteq:ch

added a test

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

llvm-svn: 250996
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512-cmp.ll