This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Have lowerLoad scalarize unaligned vectors
ClosedPublic

Authored by arsenm on Jul 26 2021, 5:20 PM.

Details

Summary

This could be smarter by picking an ideal type, or at least splitting
the vector in half first. Also handles lower for non-power-of-2,
non-extending vector loads.

Currently this just avoids failing to legalize some odd vector AMDGPU
tests, but is a step towards removing the split logic from the
NarrowScalar logic.

Diff Detail

Event Timeline

arsenm created this revision.Jul 26 2021, 5:20 PM
arsenm requested review of this revision.Jul 26 2021, 5:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2021, 5:20 PM
Herald added a subscriber: wdng. · View Herald Transcript
paquette accepted this revision.Jul 27 2021, 9:31 AM

Seems reasonable

This revision is now accepted and ready to land.Jul 27 2021, 9:31 AM