Generic parser may report an incorrect error position when an offending operand is followed by a comma.
See bug 48884 for details.
| Paths 
 |  Differential  D95674  
[AMDGPU][MC] Corrected error position for invalid operands ClosedPublic Authored by dp on Jan 29 2021, 2:31 AM. 
Details Summary Generic parser may report an incorrect error position when an offending operand is followed by a comma. See bug 48884 for details. 
Diff Detail Event TimelineHerald added subscribers: kerbowa, jfb, hiraditya and 8 others.  ·  View Herald TranscriptJan 29 2021, 2:31 AM This revision is now accepted and ready to land.Jan 29 2021, 2:37 AM Closed by commit rG99b5631649e0: [AMDGPU][MC] Corrected error position for invalid operands (authored by dp).  ·  Explain WhyFeb 1 2021, 3:31 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 320081 llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 llvm/test/MC/AMDGPU/gfx10_err_pos.s
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||