This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix verifier error on spilling partially defined SGPRs
ClosedPublic

Authored by arsenm on Jul 24 2020, 6:15 AM.

Details

Summary

This needs an implicit def of the super-register in case one of the
lanes isn't defined, similar to copyPhysReg (or the not-VGPR spill
case below). This showed up in GlobalISel testing since it currently
doesn't fold out many undef instructions.

Diff Detail

Event Timeline

arsenm created this revision.Jul 24 2020, 6:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2020, 6:15 AM
This revision is now accepted and ready to land.Jul 28 2020, 2:35 PM