This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Add PTEST_ANY pseudo instruction
ClosedPublic

Authored by bsmith on Nov 14 2022, 3:03 AM.

Details

Summary

This allow recognition of when a ptest was emitted as an any condition
and allows for extra optimization to be done later.

This addresses missing optimizations from D137716 and D137718, and
partially D137717.

Depends on D137716, D137717, D137718

Diff Detail

Event Timeline

bsmith created this revision.Nov 14 2022, 3:03 AM
bsmith requested review of this revision.Nov 14 2022, 3:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 3:03 AM
c-rhodes accepted this revision.Nov 14 2022, 3:52 AM

Couple of minor spelling nits but otherwise LGTM, cheers

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
1325–1326

s/conditon/condition

1326

s/redundany/redundant

This revision is now accepted and ready to land.Nov 14 2022, 3:52 AM
Matt added a subscriber: Matt.Nov 14 2022, 9:55 AM
This revision was landed with ongoing or failed builds.Nov 15 2022, 7:49 AM
This revision was automatically updated to reflect the committed changes.