]> granicus.if.org Git - llvm/commit
[AMDGPU][MC] Corrected parsing of registers
authorDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 27 Sep 2019 15:41:31 +0000 (15:41 +0000)
committerDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 27 Sep 2019 15:41:31 +0000 (15:41 +0000)
commitdcc4e62845ddc673d74ae50fa44449fcf7c31153
tree124278a62650da27368fcd1c3f559689cea0e1d0
parentbc913bfd017612478f055f65d2e11cf0252abb6e
[AMDGPU][MC] Corrected parsing of registers

Summary of changes:

refactored code for better readability and future improvements;
fixed bug 41281: https://bugs.llvm.org/show_bug.cgi?id=41281

Reviewers: artem.tamazov, arsenm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
test/MC/AMDGPU/reg-syntax-err.s