summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-04-24 12:56:27 +0000
committerTim Northover <tnorthover@apple.com>2014-04-24 12:56:27 +0000
commit4fec4077fc19185a31acc9f0f22490ac7513a03d (patch)
tree048f614195f24ef6e3e8314fbad772c75ec183f4 /test
parentf909da2becddcc6e0dd6b55dfa85fc271f0d04fe (diff)
downloadllvm-4fec4077fc19185a31acc9f0f22490ac7513a03d.tar.gz
llvm-4fec4077fc19185a31acc9f0f22490ac7513a03d.tar.bz2
llvm-4fec4077fc19185a31acc9f0f22490ac7513a03d.tar.xz
AArch64/ARM64: add support for :abs_gN_s: MOVZ modifiers
We only need assembly support, so it's fairly easy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AArch64/elf-reloc-movw.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/AArch64/elf-reloc-movw.s b/test/MC/AArch64/elf-reloc-movw.s
index 333159562c..29f89443c3 100644
--- a/test/MC/AArch64/elf-reloc-movw.s
+++ b/test/MC/AArch64/elf-reloc-movw.s
@@ -1,6 +1,9 @@
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
+// RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj %s -o - | \
+// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
+
movz x0, #:abs_g0:some_label
movk x0, #:abs_g0_nc:some_label