Add support for scalarizing ctlz_zero_undef
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Wed, 30 Jul 2014 00:44:03 +0000 (00:44 +0000)
committerPetar Jovanovic <petar.jovanovic@imgtec.com>
Wed, 30 Jul 2014 00:44:03 +0000 (00:44 +0000)
commitb7c305f0914f3785efa643f1b68686fb098f3f6e
treeb2ba02c4edfa8966d05986579b72f472d5d1ab5c
parent5ad21fa696d213e0de3fb704d661befab126f30a
Add support for scalarizing ctlz_zero_undef

Fix the missing case in ScalarizeVectorResult() that was exposed with
libclcore.bc in Android.

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

llvm-svn: 214266
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/Mips/ctlz-v.ll [new file with mode: 0644]