This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't fold copies to physregs
ClosedPublic

Authored by arsenm on Oct 9 2019, 2:50 PM.

Details

Reviewers
rampitec
kerbowa
Summary

In a future patch, this will help cleanup m0 handling.

The register coalescer handles copies from a register that
materializes an immediate, but doesn't handle move immediates
itself. The virtual register uses will often be allocated to the same
register, so there end up being no real copy.

Diff Detail

Event Timeline

arsenm created this revision.Oct 9 2019, 2:50 PM
rampitec accepted this revision.Oct 9 2019, 2:59 PM

LGTM

This revision is now accepted and ready to land.Oct 9 2019, 2:59 PM
arsenm closed this revision.Oct 9 2019, 3:49 PM

r374257