This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC][GFX9][GFX10] Corrected parsing of optional operands
ClosedPublic

Authored by dp on Oct 2 2019, 11:21 AM.

Diff Detail

Event Timeline

dp created this revision.Oct 2 2019, 11:21 AM
dp marked an inline comment as done.Oct 2 2019, 11:30 AM
dp added inline comments.
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
6089 ↗(On Diff #222884)

This check is no longer necessary. Moreover it does not work for the following test because 'off' is not a register:

global_atomic_add v0, v[1:2], v2, off glc slc
artem.tamazov accepted this revision.Oct 7 2019, 4:18 AM

Make it so!

This revision is now accepted and ready to land.Oct 7 2019, 4:18 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2019, 7:08 AM