Page MenuHomePhabricator

AMDGPU: Use eraseFromParent to delete am instruction when it is no longer needed.
ClosedPublic

Authored by cfang on May 4 2018, 9:34 AM.

Details

Summary

We should delete the instruction when it is not needed any more.
Done in file AMDGPUUnifyDivergentExitNodes.cpp

Diff Detail

Repository
rL LLVM

Event Timeline

cfang created this revision.May 4 2018, 9:34 AM
nhaehnle accepted this revision.May 7 2018, 12:31 AM
This revision is now accepted and ready to land.May 7 2018, 12:31 AM
This revision was automatically updated to reflect the committed changes.