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