This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Ensure redundant PTEST are removed with an 'invalid' PTRUE
ClosedPublic

Authored by bsmith on Nov 16 2022, 3:57 AM.

Details

Summary

When a PTRUE of non-element size is encountered, the PTEST optimization
logic bails out since it cannot handle that type of PTRUE. Instead, it
should be treated as a generic predicate to allow later optimizations trigger.

Diff Detail

Event Timeline

bsmith created this revision.Nov 16 2022, 3:57 AM
bsmith requested review of this revision.Nov 16 2022, 3:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2022, 3:57 AM
This revision is now accepted and ready to land.Nov 16 2022, 5:46 AM