This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Zero other lanes when doing OR reduction on unpacked predicate using ptest.
ClosedPublic

Authored by sdesmalen on Jul 4 2022, 7:21 AM.

Details

Summary

When the predicate vector is unpacked, we cannot assume anything about the
values in the other lanes. We have to make sure we use the correct
predicate where we know that the other lanes have been zeroed.

Diff Detail

Event Timeline

sdesmalen created this revision.Jul 4 2022, 7:21 AM
sdesmalen requested review of this revision.Jul 4 2022, 7:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2022, 7:21 AM
This revision is now accepted and ready to land.Jul 5 2022, 8:39 AM
Matt added a subscriber: Matt.Jul 5 2022, 10:59 AM
sdesmalen updated this revision to Diff 442458.Jul 6 2022, 1:13 AM

Regenerated tests after rebase onto D128835.

This revision was landed with ongoing or failed builds.Jul 6 2022, 9:14 AM
This revision was automatically updated to reflect the committed changes.