This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't use InstVisitor for AMDGPUPromoteAlloca
ClosedPublic

Authored by arsenm on Mar 7 2016, 1:33 PM.

Details

Reviewers
tstellarAMD
Summary

Frontend authors are strongly encouraged to keep allocas
in the entry block, so don't bother visiting every instruction
in the other blocks of the function.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 49992.Mar 7 2016, 1:33 PM
arsenm retitled this revision from to AMDGPU: Don't use InstVisitor for AMDGPUPromoteAlloca.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Mar 7 2016, 2:11 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 7 2016, 2:11 PM
arsenm closed this revision.Mar 11 2016, 12:26 AM

r263206