This is an archive of the discontinued LLVM Phabricator instance.

[SVE][ISel] Ensure explicit gather/scatter offset extension isn't lost.
ClosedPublic

Authored by paulwalker-arm on Apr 7 2022, 9:52 AM.

Details

Summary

getGatherScatterIndexIsExtended currently looks through all
SIGN_EXTEND_INREG operations regardless of their input type. This
patch restricts the code to only look through i32->i64 extensions,
which are the ones supported implicitly by SVE addressing modes.

Diff Detail

Event Timeline

paulwalker-arm created this revision.Apr 7 2022, 9:52 AM
Herald added a project: Restricted Project. · View Herald Transcript
paulwalker-arm requested review of this revision.Apr 7 2022, 9:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2022, 9:52 AM
Matt added a subscriber: Matt.Apr 7 2022, 11:40 AM
This revision is now accepted and ready to land.Apr 28 2022, 1:51 AM
This revision was landed with ongoing or failed builds.Apr 29 2022, 6:24 AM
This revision was automatically updated to reflect the committed changes.