This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Don't assume instruction can be erased when selecting exts
ClosedPublic

Authored by arsenm on Jul 22 2019, 5:32 PM.

Details

Reviewers
tstellar
nhaehnle
Summary

The G_ANYEXT handling can end up reaching selectCOPY, which mutates
the instruction in place.

Diff Detail

Event Timeline

arsenm created this revision.Jul 22 2019, 5:32 PM
This revision is now accepted and ready to land.Jul 23 2019, 5:52 AM
arsenm closed this revision.Jul 24 2019, 9:05 AM

r366915