This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Add UABDL patterns for log2 shuffle.
ClosedPublic

Authored by chatur01 on Oct 30 2015, 9:36 AM.

Details

Summary

This matches the sum-of-absdiff patterns emitted by the vectoriser using log2 shuffles.

Relies on D14207 to be able to match the extract_subvector(..., 0)

Diff Detail

Event Timeline

chatur01 retitled this revision from to [AArch64] Add UABDL patterns for log2 shuffle..
chatur01 updated this object.
chatur01 set the repository for this revision to rL LLVM.
chatur01 added a subscriber: llvm-commits.
jmolloy accepted this revision.Oct 30 2015, 10:05 AM
jmolloy edited edge metadata.

Hi Charlie,

I must say, when I read the title I didn't expect them to be this neat and tidy. I expected a whole host of spaghetti in ISelLowering.

This looks good to me.

James

This revision is now accepted and ready to land.Oct 30 2015, 10:05 AM
chatur01 closed this revision.Nov 9 2015, 5:13 AM