mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
61c7006a9d
This matches GAS, that allows unsuffixed .inst for thumb. Differential Revision: https://reviews.llvm.org/D49937 llvm-svn: 338357
14 lines
368 B
ArmAsm
14 lines
368 B
ArmAsm
@ RUN: not llvm-mc %s -triple armv7-linux-gnueabi -filetype asm -o - 2>&1 \
|
|
@ RUN: | FileCheck -check-prefix CHECK-ERROR %s
|
|
|
|
.syntax unified
|
|
.thumb
|
|
|
|
.align 2
|
|
.global suffixes_required_in_thumb
|
|
.type suffixes_required_in_thumb,%function
|
|
suffixes_required_in_thumb:
|
|
.inst 0xff00
|
|
@ CHECK-ERROR: cannot determine Thumb instruction size, use inst.n/inst.w instead
|
|
|