brintos

brintos / llvm-project-archived public Read only

0
0
Text · 823 B · 00978c6 Raw
27 lines · plain
1@ RUN: not llvm-mc -triple=thumbv7m-apple-darwin -show-encoding < %s 2> %t2@ RUN: FileCheck < %t %s3@ RUN: not llvm-mc -triple=thumbv6m -show-encoding < %s 2> %t4@ RUN: FileCheck < %t %s5  .syntax unified6  .globl _func7 8@ Check that the assembler rejects thumb instructions that are not valid9@ on mclass.10 11@------------------------------------------------------------------------------12@ BLX (immediate)13@------------------------------------------------------------------------------14        blx _baz15 16@ CHECK: instruction requires: !armv*m17 18@------------------------------------------------------------------------------19@ SETEND20@------------------------------------------------------------------------------21 22        setend be23        setend le24 25@ CHECK: error: invalid instruction26@ CHECK: error: invalid instruction27