This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix PromoteAlloca Subvector Stores for Single Elements
ClosedPublic

Authored by Pierre-vh on Jul 26 2023, 3:30 AM.

Details

Summary

The previous condition was incorrect in some cases, like storing <2 x i32>
into a double. If IndexVal was >0, we ended up never storing anything.

Diff Detail

Event Timeline

Pierre-vh created this revision.Jul 26 2023, 3:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2023, 3:30 AM
Pierre-vh requested review of this revision.Jul 26 2023, 3:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2023, 3:30 AM
arsenm accepted this revision.Jul 26 2023, 3:51 AM

This should probably go to the release branch?

This revision is now accepted and ready to land.Jul 26 2023, 3:51 AM
This revision was landed with ongoing or failed builds.Jul 26 2023, 4:21 AM
This revision was automatically updated to reflect the committed changes.