This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Canonicalize offset order for merged DS instructions
ClosedPublic

Authored by tstellarAMD on Aug 22 2016, 8:40 AM.

Details

Summary

If the scheduler clusters the loads, then the offsets will be sorted,
but it is possible for the scheduler to scheduler loads together
without out explicitly clustering them, which would give us non-sorted
offsets.

Also, we will want to do this if we move the load/store optimizer before
the scheduler.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Canonicalize offset order for merged DS instructions.
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
arsenm accepted this revision.Aug 22 2016, 10:08 AM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 22 2016, 10:08 AM
This revision was automatically updated to reflect the committed changes.