Corrected parser to issue meaningful error messages for invalid and malformed registers.
See bug 41303.
Paths
| Differential D87234
[AMDGPU][MC] Improved diagnostic messages for invalid registers ClosedPublic Authored by dp on Sep 7 2020, 6:45 AM.
Details Summary Corrected parser to issue meaningful error messages for invalid and malformed registers. See bug 41303.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 8 2020, 1:00 PM
Closed by commit rG95b7040e4384: [AMDGPU][MC] Improved diagnostic messages for invalid registers (authored by dp). · Explain WhySep 9 2020, 6:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 290274 llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/test/MC/AMDGPU/expressions.s
llvm/test/MC/AMDGPU/flat-scratch.s
llvm/test/MC/AMDGPU/literals.s
llvm/test/MC/AMDGPU/mtbuf.s
llvm/test/MC/AMDGPU/out-of-range-registers.s
llvm/test/MC/AMDGPU/reg-syntax-err.s
llvm/test/MC/AMDGPU/reg-syntax-extra.s
llvm/test/MC/AMDGPU/smem.s
llvm/test/MC/AMDGPU/smrd-err.s
llvm/test/MC/AMDGPU/smrd.s
llvm/test/MC/AMDGPU/sop1-err.s
llvm/test/MC/AMDGPU/sop1.s
llvm/test/MC/AMDGPU/sop2.s
llvm/test/MC/AMDGPU/sopk.s
llvm/test/MC/AMDGPU/trap.s
llvm/test/MC/AMDGPU/vop3.s
llvm/test/MC/AMDGPU/vop_sdwa.s
llvm/test/MC/AMDGPU/xnack-mask.s
|
Not sure why we would special case this one