summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-17 08:03:18 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-17 08:03:18 +0000
commit5de5d4b6d0eb3fd379fa571d82f6fa764460b3b8 (patch)
tree3e3003c4648ab61634d5f42fa60ae13332153883 /test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
parentb1086a9c6d6d5ee3070a68076f38eec841cefd58 (diff)
downloadllvm-5de5d4b6d0eb3fd379fa571d82f6fa764460b3b8.tar.gz
llvm-5de5d4b6d0eb3fd379fa571d82f6fa764460b3b8.tar.bz2
llvm-5de5d4b6d0eb3fd379fa571d82f6fa764460b3b8.tar.xz
Materialize GA addresses with movw + movt pairs for Darwin in PIC mode. e.g.
movw r0, :lower16:(L_foo$non_lazy_ptr-(LPC0_0+4)) movt r0, :upper16:(L_foo$non_lazy_ptr-(LPC0_0+4)) LPC0_0: add r0, pc, r0 It's not yet enabled by default as some tests are failing. I suspect bugs in down stream tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2010-12-15-elf-lcomm.ll')
-rw-r--r--test/CodeGen/ARM/2010-12-15-elf-lcomm.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll b/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
index e08fe8d586..eaa34e7960 100644
--- a/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
+++ b/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
@@ -1,6 +1,6 @@
-; RUN: llc %s -mtriple=armv7-linux-gnueabi -arm-use-movt -filetype=obj -o - | \
+; RUN: llc %s -mtriple=armv7-linux-gnueabi -filetype=obj -o - | \
; RUN: elf-dump --dump-section-data | FileCheck -check-prefix=OBJ %s
-; RUN: llc %s -mtriple=armv7-linux-gnueabi -arm-use-movt -o - | \
+; RUN: llc %s -mtriple=armv7-linux-gnueabi -o - | \
; RUN: FileCheck -check-prefix=ASM %s