Remove the MCR asm parser hack and start using the custom target specific asm
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 7 Feb 2011 21:41:25 +0000 (21:41 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 7 Feb 2011 21:41:25 +0000 (21:41 +0000)
commitfafde7f0b7c70e08de719d9e33ce9f6fdaefc984
tree2287f87641bf7f5e64153190be4ed2e73ad14e6b
parenteb59ca976c6400936ee28b7c8687bda9c4ea1cdf
Remove the MCR asm parser hack and start using the custom target specific asm
parsing of operands introduced in r125030. As a small note, besides using a more
generic approach we can also have more descriptive output when debugging
llvm-mc, example:

mcr  p7, #1, r5, c1, c1, #4

note: parsed instruction:
  ['mcr', <ARMCC::al>,
          <coprocessor number: 7>,
          1,
          <register 73>,
          <coprocessor register: 1>,
          <coprocessor register: 1>,
          4]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125052 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp