This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Implement all-inactive predicate with PFALSE.
ClosedPublic

Authored by sdesmalen on Sep 6 2021, 3:59 AM.

Details

Summary

Instead of using a WHILE XZR, XZR instruction, just emit a PFALSE.

Diff Detail

Event Timeline

sdesmalen created this revision.Sep 6 2021, 3:59 AM
sdesmalen requested review of this revision.Sep 6 2021, 3:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2021, 3:59 AM
sdesmalen edited the summary of this revision. (Show Details)Sep 6 2021, 4:03 AM
georges added a subscriber: georges.Sep 6 2021, 5:34 AM
georges added inline comments.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
9649–9650

can remove this todo now?

sdesmalen updated this revision to Diff 370903.Sep 6 2021, 6:05 AM

Removed TODO.

sdesmalen marked an inline comment as done.Sep 6 2021, 6:05 AM
sdesmalen added inline comments.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
9649–9650

good spot, thanks.

david-arm accepted this revision.Sep 7 2021, 4:52 AM

LGTM! Truly a work of art. :)

This revision is now accepted and ready to land.Sep 7 2021, 4:52 AM
Matt added a subscriber: Matt.Sep 7 2021, 5:25 AM
This revision was automatically updated to reflect the committed changes.
sdesmalen marked an inline comment as done.