This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Correct DS implementation of areLoadsFromSameBasePtr
ClosedPublic

Authored by arsenm on Mar 5 2019, 12:26 PM.

Details

Reviewers
rampitec
nhaehnle
Summary

This was checking the wrong operands for the base register and the
offsets. The indexes are shifted by the number of output registers
from the machine instruction definition, and the chain is moved to the
end.

Diff Detail

Event Timeline

arsenm created this revision.Mar 5 2019, 12:26 PM
rampitec accepted this revision.Mar 5 2019, 2:56 PM

LGTM

This revision is now accepted and ready to land.Mar 5 2019, 2:56 PM
arsenm closed this revision.Mar 8 2019, 12:30 PM

r355722