This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Use tablegen pattern for sendmsg intrinsics
ClosedPublic

Authored by arsenm on Jul 18 2019, 6:33 AM.

Details

Summary

Since this now emits a direct copy to m0, SIFixSGPRCopies has to
handle a physical register.

Diff Detail

Event Timeline

arsenm created this revision.Jul 18 2019, 6:33 AM
rampitec added inline comments.Jul 18 2019, 10:42 AM
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
629

You need to move it under the if.

arsenm updated this revision to Diff 210671.Jul 18 2019, 2:13 PM

Fix wasting a vreg

This revision is now accepted and ready to land.Jul 18 2019, 2:15 PM
arsenm closed this revision.Aug 1 2019, 11:26 AM

r367593