Normally DCE kills these, but at -O0 these get left behind
leaving suspicious looking illegal copies.
Replace with IMPLICIT_DEF to avoid iterator issues.
Paths
| Differential D44572
AMDGPU: Don't leave dead illegal VGPR->SGPR copies ClosedPublic Authored by arsenm on Mar 16 2018, 9:32 AM.
Details
Summary Normally DCE kills these, but at -O0 these get left behind Replace with IMPLICIT_DEF to avoid iterator issues.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 6 others. · View Herald TranscriptMar 16 2018, 9:32 AM This revision is now accepted and ready to land.Mar 16 2018, 9:36 AM
Revision Contents
Diff 138726 lib/Target/AMDGPU/SIInstrInfo.cpp
test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
test/CodeGen/AMDGPU/si-fix-sgpr-copies.mir
|