See bug 35645: https://bugs.llvm.org/show_bug.cgi?id=35645
swizzle 'offset' is an optional operand but it has non-standard syntax compared with other optional operands.
So I decided to handle it separately.
Paths
| Differential D41186
[AMDGPU][MC] Corrected parsing of optional operands for ds_swizzle_b32 ClosedPublic Authored by dp on Dec 13 2017, 9:27 AM.
Details Summary See bug 35645: https://bugs.llvm.org/show_bug.cgi?id=35645 swizzle 'offset' is an optional operand but it has non-standard syntax compared with other optional operands.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 4 others. · View Herald TranscriptDec 13 2017, 9:27 AM This revision is now accepted and ready to land.Dec 14 2017, 7:28 AM Closed by commit rL321367: [AMDGPU][MC] Corrected parsing of optional operands for ds_swizzle_b32 (authored by dpreobra). · Explain WhyDec 22 2017, 9:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 126772 lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
test/MC/AMDGPU/ds.s
test/MC/Disassembler/AMDGPU/ds_vi.txt
|