ARM IAS: fix after r198172
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 29 Dec 2013 18:53:16 +0000 (18:53 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 29 Dec 2013 18:53:16 +0000 (18:53 +0000)
commitee6d3cd701f49918b5c789a354efc4e29b09ac0b
tree589dfc4aa3a7473070f705eb4001513e12ccf2cf
parentdd2836776f435d4b6de8d780228d02da15c37e7f
ARM IAS: fix after r198172

The DPR and SPR register lists are also register lists.  Furthermore, the
registers need not be checked individually since the register type can be
checked via the list kind.  Use that to simplify the logic and fix the incorrect
assertion.

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