diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-01-17 08:03:18 +0000 | 
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-01-17 08:03:18 +0000 | 
| commit | dfce83c8f5326f23df0897b35c67c25f6763012a (patch) | |
| tree | 0ef4d0dcbaea41ee611e975665285f2e22ea9982 /llvm/test/CodeGen | |
| parent | 67431d79434516483c852b70bfb87432f5db00b1 (diff) | |
| download | bcm5719-llvm-dfce83c8f5326f23df0897b35c67c25f6763012a.tar.gz bcm5719-llvm-dfce83c8f5326f23df0897b35c67c25f6763012a.zip | |
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.
llvm-svn: 123619
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/ARM/2010-12-13-reloc-pic.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll | 4 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll b/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll index a8dc52e411c..930cd8d4156 100644 --- a/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll +++ b/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll @@ -1,4 +1,4 @@ -; 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  target triple = "armv7-none-linux-gnueabi" diff --git a/llvm/test/CodeGen/ARM/2010-12-13-reloc-pic.ll b/llvm/test/CodeGen/ARM/2010-12-13-reloc-pic.ll index 52fd2df1413..d5aefbee197 100644 --- a/llvm/test/CodeGen/ARM/2010-12-13-reloc-pic.ll +++ b/llvm/test/CodeGen/ARM/2010-12-13-reloc-pic.ll @@ -1,4 +1,4 @@ -; RUN: llc  %s -mtriple=armv7-linux-gnueabi -arm-use-movt -relocation-model=pic -filetype=obj -o - | \ +; RUN: llc  %s -mtriple=armv7-linux-gnueabi -relocation-model=pic -filetype=obj -o - | \  ; RUN:    elf-dump --dump-section-data | FileCheck  -check-prefix=PIC01 %s  ;; FIXME: Reduce this test further, or even better, diff --git a/llvm/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll b/llvm/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll index e08fe8d586c..eaa34e7960f 100644 --- a/llvm/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll +++ b/llvm/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 | 

