This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't leave dead illegal VGPR->SGPR copies
ClosedPublic

Authored by arsenm on Mar 16 2018, 9:32 AM.

Details

Reviewers
rampitec
Summary

Normally DCE kills these, but at -O0 these get left behind
leaving suspicious looking illegal copies.

Replace with IMPLICIT_DEF to avoid iterator issues.

Diff Detail

Event Timeline

arsenm created this revision.Mar 16 2018, 9:32 AM
This revision is now accepted and ready to land.Mar 16 2018, 9:36 AM
arsenm closed this revision.Mar 19 2018, 7:10 AM

r327842