This is an archive of the discontinued LLVM Phabricator instance.

[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.
So I decided to handle it separately.

Diff Detail

Event Timeline

dp created this revision.Dec 13 2017, 9:27 AM
This revision is now accepted and ready to land.Dec 14 2017, 7:28 AM
This revision was automatically updated to reflect the committed changes.