Thumb2 assembly parsing and encoding for RBIT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139811 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s
index d9f3e22..9facc0c 100644
--- a/test/MC/ARM/basic-thumb2-instructions.s
+++ b/test/MC/ARM/basic-thumb2-instructions.s
@@ -1414,6 +1414,18 @@
 
 
 @------------------------------------------------------------------------------
+@ RBIT
+@------------------------------------------------------------------------------
+        rbit r1, r2
+        it ne
+        rbitne r1, r2
+
+@ CHECK: rbit	r1, r2                  @ encoding: [0x92,0xfa,0xa2,0xf1]
+@ CHECK: it	ne                      @ encoding: [0x18,0xbf]
+@ CHECK: rbitne	r1, r2                  @ encoding: [0x92,0xfa,0xa2,0xf1]
+
+
+@------------------------------------------------------------------------------
 @ SUB (register)
 @------------------------------------------------------------------------------
         sub.w r5, r2, r12, rrx