This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Expand v8i8 cttz (PR39729)
ClosedPublic

Authored by nikic on Feb 9 2019, 1:52 PM.

Details

Summary

Fix for https://bugs.llvm.org/show_bug.cgi?id=39729.

Rather than adding just a case for v8i8 I'm setting cttz to expand for all vector types.

Diff Detail

Repository
rL LLVM

Event Timeline

nikic created this revision.Feb 9 2019, 1:52 PM
efriedma accepted this revision.Feb 11 2019, 4:05 PM

LGTM.

(I think we can improve the generated sequences for some of these, but you obviously don't need to do that here.)

This revision is now accepted and ready to land.Feb 11 2019, 4:05 PM
This revision was automatically updated to reflect the committed changes.