[SystemZ] Simplify register parsing in AsmParser
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 29 Apr 2020 16:33:13 +0000 (18:33 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 29 Apr 2020 18:42:30 +0000 (20:42 +0200)
commit6bfde063f0a7c336fb4c82a4b72da9b3812d31d0
tree7dc08774d7309836c63e78729320a453b5c71877
parentcecee111e44f5782ebff033ae8c3a4ea169f94fd
[SystemZ] Simplify register parsing in AsmParser

Remove redundant Group and Regs arguments from parseRegister
and eliminate one of its overloaded versions.

Remove redundant Regs argument from parseAddress.

NFC intended.
llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp