This is an archive of the discontinued LLVM Phabricator instance.

[SVE][InstCombine] Support more cases where ld1/st1 can be lowered to load instructions.
ClosedPublic

Authored by paulwalker-arm on Dec 3 2021, 8:18 AM.

Details

Summary

This patch extends the "is all active predicate" check to cover
cases where the predicate is casted but in a way that doesn't
change its "all active" status.

Diff Detail

Event Timeline

paulwalker-arm created this revision.Dec 3 2021, 8:18 AM
paulwalker-arm requested review of this revision.Dec 3 2021, 8:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2021, 8:18 AM
MattDevereau accepted this revision.EditedDec 6 2021, 2:19 AM

lgtm, theres a typo in a comment

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
735
This revision is now accepted and ready to land.Dec 6 2021, 2:19 AM