This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Insert nop pass: take care of outstanding feedback
ClosedPublic

Authored by kzhuravl on Apr 21 2016, 11:25 AM.

Details

Summary
  • Switch few loops to range-based for loops
  • Fix nop insertion at the end of BB
  • Fix formatting
  • Check for endpgm

Diff Detail

Repository
rL LLVM

Event Timeline

kzhuravl updated this revision to Diff 54551.Apr 21 2016, 11:25 AM
kzhuravl retitled this revision from to [AMDGPU] Insert nop pass: take care of outstanding feedback.
kzhuravl updated this object.
kzhuravl added a subscriber: bpurnomo.
tstellarAMD accepted this revision.Apr 21 2016, 5:17 PM
tstellarAMD edited edge metadata.

LGTM. Usually for post-commit feeback like this, you can just commit the changes directly instead of submitting a patch.

This revision is now accepted and ready to land.Apr 21 2016, 5:17 PM
arsenm edited edge metadata.Apr 21 2016, 6:08 PM

Shouldn't the subtargets check be moved into the pass itself?

kzhuravl updated this revision to Diff 54652.Apr 22 2016, 7:52 AM
kzhuravl edited edge metadata.

Matt's feedback

This revision was automatically updated to reflect the committed changes.