This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't try to use LDS/vector for private if pointer value stored
ClosedPublic

Authored by arsenm on Jul 26 2015, 12:43 AM.

Details

Reviewers
arsenm
Summary

If the pointer is the store's value operand, this would produce
a broken module. Make sure the use is actually for the pointer operand.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 30647.Jul 26 2015, 12:43 AM
arsenm retitled this revision from to AMDGPU: Don't try to use LDS/vector for private if pointer value stored.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
arsenm updated this revision to Diff 30648.Jul 26 2015, 1:10 AM

Simplify tests

arsenm accepted this revision.Jul 28 2015, 11:47 AM
arsenm added a reviewer: arsenm.

r243462

This revision is now accepted and ready to land.Jul 28 2015, 11:47 AM
arsenm closed this revision.Jul 28 2015, 11:47 AM