This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove a fixme for ptrrtoint handling
ClosedPublic

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

Details

Reviewers
tstellarAMD
Summary

We should not attempt to handle ptrtoint and just give up.

Also use cast<> instead of dyn_cast It should be
impossible to have an alloca with a user which is
not an instruction.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 46564.Feb 1 2016, 12:14 PM
arsenm retitled this revision from to AMDGPU: Remove a fixme for ptrrtoint handling.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Feb 2 2016, 8:43 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Feb 2 2016, 8:43 AM
arsenm closed this revision.Mar 7 2016, 1:17 PM

r262854