This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Use ADDV for boolean xor reductions.
ClosedPublic

Authored by paulwalker-arm on May 14 2022, 5:23 AM.

Details

Summary

NEON does not have native support for xor reductions. However, when
reducing predicate vectors the operation is synonymous with an add
reduction that is supported.

Diff Detail

Event Timeline

paulwalker-arm created this revision.May 14 2022, 5:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2022, 5:23 AM
paulwalker-arm requested review of this revision.May 14 2022, 5:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2022, 5:23 AM
Allen accepted this revision.May 16 2022, 3:42 AM

LGTM! Thanks for the codegen improvement.

This revision is now accepted and ready to land.May 16 2022, 3:42 AM
This revision was landed with ongoing or failed builds.May 16 2022, 2:36 PM
This revision was automatically updated to reflect the committed changes.