aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/arm-it-block.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/arm-it-block.s')
-rw-r--r--test/MC/ARM/arm-it-block.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/ARM/arm-it-block.s b/test/MC/ARM/arm-it-block.s
new file mode 100644
index 0000000..e5e5491
--- /dev/null
+++ b/test/MC/ARM/arm-it-block.s
@@ -0,0 +1,11 @@
+@ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
+ .syntax unified
+ .globl _func
+
+_func:
+@ CHECK: _func:
+ it eq
+ moveq r2, r3
+@ 'it' is parsed but not encoded.
+@ CHECK-NOT: it
+@ CHECK: moveq r2, r3 @ encoding: [0x03,0x20,0xa0,0x01]