Thumb2 assembly parsing and encoding for NOP.W.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139740 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s
index 98ec7f3..97a59df 100644
--- a/test/MC/ARM/basic-thumb2-instructions.s
+++ b/test/MC/ARM/basic-thumb2-instructions.s
@@ -1167,6 +1167,13 @@
 @ CHECK: it	eq                      @ encoding: [0x08,0xbf]
 @ CHECK: mvneq	r2, r3                  @ encoding: [0xda,0x43]
 
+@------------------------------------------------------------------------------
+@ NOP
+@------------------------------------------------------------------------------
+        nop.w
+
+@ CHECK: nop.w                          @ encoding: [0xaf,0xf3,0x00,0x80]
+
 
 @------------------------------------------------------------------------------
 @ IT
diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s
index 30c9962..f4f48fa 100644
--- a/test/MC/ARM/thumb2.s
+++ b/test/MC/ARM/thumb2.s
@@ -226,9 +226,6 @@
 @ CHECK: qdsub  r1, r2, r3 @ encoding: [0x83,0xfa,0xb2,0xf1]
         qdsub  r1, r2, r3
 
-@ CHECK: nop.w @ encoding: [0xaf,0xf3,0x00,0x80]
-        nop.w
-
 @ CHECK: yield.w @ encoding: [0xaf,0xf3,0x01,0x80]
         yield.w