This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix adding extra implicit def of register
ClosedPublic

Authored by arsenm on Nov 23 2016, 9:13 AM.

Details

Reviewers
tstellarAMD
Summary

In the scalar case, there's no reason to add an additional def of the same register.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 79108.Nov 23 2016, 9:13 AM
arsenm retitled this revision from to AMDGPU: Fix adding extra implicit def of register.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
arsenm updated this revision to Diff 79110.Nov 23 2016, 9:34 AM
arsenm edited edge metadata.

Also do for scalar store path

arsenm updated this revision to Diff 79135.Nov 23 2016, 11:56 AM
arsenm edited edge metadata.

Also for readlane

tstellarAMD accepted this revision.Nov 23 2016, 12:39 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 23 2016, 12:39 PM
arsenm closed this revision.Nov 23 2016, 1:10 PM

r287807