HomePhabricator

[AMDGPU][MC] Corrected error position for invalid operands

Authored by dp on Feb 1 2021, 3:22 AM.

Description

[AMDGPU][MC] Corrected error position for invalid operands

Generic parser may report an incorrect error position when an offending operand is followed by a comma.
See bug 48884 for details: https://bugs.llvm.org/show_bug.cgi?id=48884.

Differential Revision: https://reviews.llvm.org/D95674

Details