This is an archive of the discontinued LLVM Phabricator instance.

[RISCVGatherScatterLowering] Support broadcast base pointer
ClosedPublic

Authored by reames on Aug 4 2023, 1:00 PM.

Details

Summary

A broadcast base pointer is the same as a scalar base pointer for GEP semantics (when there's at least one other vector operand). This is the form that SLP likes to emit, so we should handle it.

Diff Detail

Event Timeline

reames created this revision.Aug 4 2023, 1:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 1:00 PM
reames requested review of this revision.Aug 4 2023, 1:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 1:00 PM
craig.topper accepted this revision.Aug 4 2023, 8:55 PM
craig.topper added a subscriber: rtaylor.

LGTM

This revision is now accepted and ready to land.Aug 4 2023, 8:56 PM
This revision was landed with ongoing or failed builds.Aug 7 2023, 7:42 AM
This revision was automatically updated to reflect the committed changes.