diff --git a/llvm/test/MC/ARM/basic-thumb-instructions.s b/llvm/test/MC/ARM/basic-thumb-instructions.s index d47b8eb0fa3b..cd4471e884c0 100644 --- a/llvm/test/MC/ARM/basic-thumb-instructions.s +++ b/llvm/test/MC/ARM/basic-thumb-instructions.s @@ -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 @------------------------------------------------------------------------------