blob: 848c1241affd8eb143ede96c40f6cbe3688cd396 [file] [log] [blame]
Jim Grosbachab5830e2011-12-14 02:16:11 +00001@ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
2 .syntax unified
3bar:
Frederic Rissb61f01f2015-02-04 03:10:03 +00004@ The line is duplicated on purpose, it is legal to redefine a req with
5@ the same value.
6fred .req r5
Jim Grosbachab5830e2011-12-14 02:16:11 +00007fred .req r5
8 mov r11, fred
9.unreq fred
10fred .req r6
11 mov r1, fred
12
13@ CHECK: mov r11, r5 @ encoding: [0x05,0xb0,0xa0,0xe1]
14@ CHECK: mov r1, r6 @ encoding: [0x06,0x10,0xa0,0xe1]