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)
commit278da370cef429cf32a8ae9e46116a0fff3f713a
tree6130732449ae784714bfae2f1db9fb3ad812de1c
parent601bb093ef765e88129995f8756870fcc15e7336
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214266 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
test/CodeGen/Mips/ctlz-v.ll [new file with mode: 0644]