Since this now emits a direct copy to m0, SIFixSGPRCopies has to
handle a physical register.
Details
Details
Diff Detail
Diff Detail
Paths 
  |  Differential  D64920  
AMDGPU: Use tablegen pattern for sendmsg intrinsics ClosedPublic Authored by arsenm on Jul 18 2019, 6:33 AM. 
Details 
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 4 others.  ·  View Herald TranscriptJul 18 2019, 6:33 AM arsenm added a parent revision: D64919: TableGen: Support physical register inputs > 255.Jul 18 2019, 6:33 AM 
 This revision is now accepted and ready to land.Jul 18 2019, 2:15 PM 
Revision Contents 
Diff 210671 include/llvm/IR/IntrinsicsAMDGPU.td
 lib/Target/AMDGPU/SIFixSGPRCopies.cpp
 lib/Target/AMDGPU/SIISelLowering.cpp
 
 lib/Target/AMDGPU/SOPInstructions.td
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You need to move it under the if.