This is an archive of the discontinued LLVM Phabricator instance.

[Reassociate] Support some reassociation of vector xors
ClosedPublic

Authored by craig.topper on Jun 18 2017, 7:50 PM.

Details

Summary

Currently we don't try to do anything with vector xors.

This patch adds support for removing duplicate pairs from a chain of vector xors as its pretty easy to support. We still dont' try to combine the xors with and/ors, but I might try that in a future patch.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Jun 18 2017, 7:50 PM
mcrosier accepted this revision.Jun 19 2017, 9:11 AM

LGTM. Thanks, Craig.

This revision is now accepted and ready to land.Jun 19 2017, 9:11 AM
This revision was automatically updated to reflect the committed changes.