1ab5830e5SJim Grosbach@ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s 2ab5830e5SJim Grosbach .syntax unified 3ab5830e5SJim Grosbachbar: 4*b61f01f1SFrederic Riss@ The line is duplicated on purpose, it is legal to redefine a req with 5*b61f01f1SFrederic Riss@ the same value. 6*b61f01f1SFrederic Rissfred .req r5 7ab5830e5SJim Grosbachfred .req r5 8ab5830e5SJim Grosbach mov r11, fred 9ab5830e5SJim Grosbach.unreq fred 10ab5830e5SJim Grosbachfred .req r6 11ab5830e5SJim Grosbach mov r1, fred 12ab5830e5SJim Grosbach 13ab5830e5SJim Grosbach@ CHECK: mov r11, r5 @ encoding: [0x05,0xb0,0xa0,0xe1] 14ab5830e5SJim Grosbach@ CHECK: mov r1, r6 @ encoding: [0x06,0x10,0xa0,0xe1] 15