fix the asmmatcher generator to handle targets with no RegisterPrefix
authorChris Lattner <sabre@nondot.org>
Thu, 28 Oct 2010 21:28:42 +0000 (21:28 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 28 Oct 2010 21:28:42 +0000 (21:28 +0000)
commit4e692ab5eeb6cf49dbb9ec9ade21cd91b081ba10
treefe7c195a93343943e456252835d91cd4ea9f8a50
parentfa42fad8bf7b0058ba031a275e1e8ce53b2cb1ad
fix the asmmatcher generator to handle targets with no RegisterPrefix
(like ARM) correctly.  With this change, we can now match "bx lr"
because we recognize lr as a register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117606 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/ARM/arm_instructions.s
utils/TableGen/AsmMatcherEmitter.cpp