Run the Thumb1 parser tests in Thumb2 mode, as well.

Thumb2 is a superset of Thumb1, so all of the encodings should still work.

llvm-svn: 138883
This commit is contained in:
Jim Grosbach 2011-08-31 19:50:28 +00:00
parent e0d4208a8b
commit 6a69d6902f
1 changed files with 5 additions and 9 deletions

View File

@ -1,4 +1,9 @@
@---
@ Run these test in both Thumb1 and Thumb2 modes, as all of the encodings
@ should be valid, and parse the same, in both.
@---
@ RUN: llvm-mc -triple=thumbv6-apple-darwin -show-encoding < %s | FileCheck %s
@ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding < %s | FileCheck %s
.syntax unified
.globl _func
@ -384,15 +389,6 @@ _func:
@ CHECK: rsbs r3, r4, #0 @ encoding: [0x63,0x42]
@------------------------------------------------------------------------------
@ NOP
@------------------------------------------------------------------------------
nop
@ CHECK: nop @ encoding: [0xc0,0x46]
@------------------------------------------------------------------------------
@ ORR
@------------------------------------------------------------------------------