This is an archive of the discontinued LLVM Phabricator instance.

[SVE][CodeGen] Call refineIndexType & refineUniformBase from visitMGATHER
ClosedPublic

Authored by kmclaughlin on Nov 30 2020, 6:20 AM.

Details

Summary

The refineIndexType & refineUniformBase functions added by D90942 can also be used to
improve CodeGen of masked gathers.

These changes were split out from D91092

Diff Detail

Event Timeline

kmclaughlin created this revision.Nov 30 2020, 6:20 AM
Herald added a project: Restricted Project. · View Herald Transcript
kmclaughlin edited the summary of this revision. (Show Details)
  • Reordered this to depend on D91092, as this more clearly demonstrates the benefit of the changes in this patch to the sve-masked-gather* tests
  • Moved changes to set the default IndexType to SIGNED_UNSCALED to D91092
  • Remove any unnecessary sign/zero extensions of the Index in LowerMGATHER
This revision is now accepted and ready to land.Dec 3 2020, 2:40 AM