[AMDGPU][MC] Corrected parsing of registers
authorDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Wed, 17 Apr 2019 14:44:01 +0000 (14:44 +0000)
committerDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Wed, 17 Apr 2019 14:44:01 +0000 (14:44 +0000)
commit20d52e3aa2db8d4fe8218f831c3199987be48c0c
treeb68aebe18863a83ff66a3765d0df8b78d7700cce
parent59e8bd3093dc1c2e877c206a3c29e3150a7878e0
[AMDGPU][MC] Corrected parsing of registers

See bug 41280: https://bugs.llvm.org/show_bug.cgi?id=41280

Reviewers: artem.tamazov, arsenm

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

llvm-svn: 358581
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/test/MC/AMDGPU/reg-syntax-err.s [new file with mode: 0644]
llvm/test/MC/AMDGPU/sop1-err.s