[PATCH] Add support for scalarizing ctlz_zero_undef

Chandler Carruth chandlerc at gmail.com
Tue Jul 29 15:35:18 PDT 2014


On Tue, Jul 29, 2014 at 3:07 PM, Petar Jovanovic <petarj at mips.com> wrote:

> >>! In D4645#12, @chandlerc wrote:
> > This seems fine (as Matt said) but don't you need to do the same for
> CTTZ?
>
> I was solving a particular failure, so this is why I have not included
> CTTZ_ZERO_UNDEF. But, yes, it should be done for CTTZ too.
>
> I can update the case in ScalarizeVectorResult() with CTTZ.
> (Or it should be another patch with additional test case?)


Either in this patch or in a separate patch is fine, but please include
test cases for both directions. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140729/af653077/attachment.html>


More information about the llvm-commits mailing list