llvm-6502/test/MC/ARM/dot-req.s
Jim Grosbach a39cda7aff ARM assembler support for the target-specific .req directive.
rdar://10549683


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146543 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-14 02:16:11 +00:00

12 lines
330 B
ArmAsm

@ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
.syntax unified
bar:
fred .req r5
mov r11, fred
.unreq fred
fred .req r6
mov r1, fred
@ CHECK: mov r11, r5 @ encoding: [0x05,0xb0,0xa0,0xe1]
@ CHECK: mov r1, r6 @ encoding: [0x06,0x10,0xa0,0xe1]