This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix producing saveexec when the copy is spilled
ClosedPublic

Authored by arsenm on Nov 13 2017, 12:07 PM.

Details

Reviewers
rampitec
Summary

If the register from the copy from exec was spilled,
the copy before the spill was deleted leaving a spill
of undefined register verifier error and miscompiling.
Check for other use instructions of the copy register

Diff Detail