mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
61c7006a9d
This matches GAS, that allows unsuffixed .inst for thumb. Differential Revision: https://reviews.llvm.org/D49937 llvm-svn: 338357
17 lines
371 B
ArmAsm
17 lines
371 B
ArmAsm
@ RUN: llvm-mc %s -triple armv7-linux-gnueabi -filetype asm -o - \
|
|
@ RUN: | FileCheck %s
|
|
@ RUN: llvm-mc %s -triple armebv7-linux-gnueabi -filetype asm -o - \
|
|
@ RUN: | FileCheck %s
|
|
|
|
.syntax unified
|
|
.thumb
|
|
|
|
.align 2
|
|
.global inst_n
|
|
.type inst_n,%function
|
|
inst_n:
|
|
@ bx lr, mov.w r0, #42
|
|
.inst 0x4770, 0xf04f002a
|
|
@ CHECK: .inst.n 0x4770
|
|
@ CHECK: .inst.w 0xf04f002a
|