aemerson accepted this revision. aemerson added a comment. This revision is now accepted and ready to land. I don't know AMDGPU but the code changes seem ok now. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63969/new/ https://reviews.llvm.org/D63969