[X86] Remove unnecessary setting of CTTZ_ZERO_UNDEF to Custom for vector types where...
authorCraig Topper <craig.topper@gmail.com>
Thu, 21 Apr 2016 04:44:00 +0000 (04:44 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 21 Apr 2016 04:44:00 +0000 (04:44 +0000)
commit3e6be4c27a3ab4e65981bcd014a843ed628339e7
treeb90ca5d3e2341c09a62f33a5c88dea9669fa95b8
parent52cb5ec36fda823b9bc5d56cce51fceeec501b31
[X86] Remove unnecessary setting of CTTZ_ZERO_UNDEF to Custom for vector types where we can't do any better than the Custom lowering of CTTZ. LegalizeVectorOps will expand to CTTZ since its marked Custom.

CTTZ_ZERO_UNDEF can be custom lowered specially if CTLZ is supported. Otherwise CTTZ and CTTZ_ZERO_UNDEF are handled the same way by using CTPOP and bitmath.

llvm-svn: 266952
llvm/lib/Target/X86/X86ISelLowering.cpp