From a39cda7aff2d379ad9c15500319ab037baa48747 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 14 Dec 2011 02:16:11 +0000 Subject: 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 --- test/MC/ARM/dot-req.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/MC/ARM/dot-req.s (limited to 'test/MC') diff --git a/test/MC/ARM/dot-req.s b/test/MC/ARM/dot-req.s new file mode 100644 index 0000000..3b4cf5c --- /dev/null +++ b/test/MC/ARM/dot-req.s @@ -0,0 +1,11 @@ +@ 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] -- cgit v1.1