• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
2        .syntax unified
3bar:
4@ The line is duplicated on purpose, it is legal to redefine a req with
5@ the same value.
6fred .req r5
7fred .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]
15