Summary of changes:
- Enabled constant expressions as operands of s_sendmsg* (bug 40820);
 - Separated bits juggling from high-level code;
 - Improved errors reporting (bug 41303);
 - Added a mode with minimal validation.
 
Paths 
  |  Differential  D62735  
[AMDGPU][MC] Corrected parsing of sendmsg ClosedPublic Authored by dp on May 31 2019, 7:18 AM. 
Details Summary Summary of changes: 
 
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 6 others.  ·  View Herald TranscriptMay 31 2019, 7:18 AM dp retitled this revision from [AMDGPU][MC] Enabled constant expressions as operands of s_sendmsg* to [AMDGPU][MC] Corrected parsing of sendmsg.May 31 2019, 7:25 AM This revision is now accepted and ready to land.Jun 14 2019, 4:56 AM Closed by commit rL364645: [AMDGPU][MC] Enabled constant expressions as operands of sendmsg (authored by dpreobra).  ·  Explain WhyJun 28 2019, 7:14 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 204732 lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
 lib/Target/AMDGPU/SIDefines.h
 lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
 lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
 test/CodeGen/AMDGPU/llvm.amdgcn.sendmsg.ll
 test/MC/AMDGPU/sopp-err.s
 test/MC/AMDGPU/sopp.s
 test/MC/Disassembler/AMDGPU/sopp_vi.txt
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||