llvm-6502/test/MC/AArch64/dot-req-case-insensitive.s
Saleem Abdulrasool 8f9108459e aarch64: support target-specific .req assembler directive
Based on the support for .req on ARM. The aarch64 variant has to keep track if
the alias register was a vector register (v0-31) or a general purpose or
VFP/Advanced SIMD ([bhsdq]0-31) register.

Patch by Janne Grunau!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212161 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-02 04:50:23 +00:00

19 lines
338 B
ArmAsm

// RUN: llvm-mc -triple=arm64-eabi < %s | FileCheck %s
_foo:
OBJECT .req x2
mov x4, OBJECT
mov x4, oBjEcT
.unreq oBJECT
_foo2:
OBJECT .req w5
mov w4, OBJECT
.unreq OBJECT
// CHECK-LABEL: _foo:
// CHECK: mov x4, x2
// CHECK: mov x4, x2
// CHECK-LABEL: _foo2:
// CHECK: mov w4, w5