This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Do not promote allocas with non-inbounds GEPs
ClosedPublic

Authored by arsenm on Feb 1 2016, 12:35 PM.

Details

Reviewers
tstellarAMD
Summary

If we can't assume the pointer value isn't within the bounds
of the object, it seems risky to try to replace the pointer
calculations.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 46569.Feb 1 2016, 12:35 PM
arsenm retitled this revision from to AMDGPU: Do not promote allocas with non-inbounds GEPs.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Feb 2 2016, 8:45 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Feb 2 2016, 8:45 AM
arsenm closed this revision.Feb 2 2016, 1:20 PM

r259573