diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-04-27 21:23:17 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-04-27 21:23:17 +0000 |
commit | 2a3779966f62a471700b8c9ca0a1ad2eb3dbb370 (patch) | |
tree | 0902657951be0cfde9b0617351384233cd4451bd /test/CodeGen | |
parent | 1bd151a851efa5976eb66b4f01646e1dad2f60f8 (diff) | |
download | llvm-2a3779966f62a471700b8c9ca0a1ad2eb3dbb370.tar.gz llvm-2a3779966f62a471700b8c9ca0a1ad2eb3dbb370.tar.bz2 llvm-2a3779966f62a471700b8c9ca0a1ad2eb3dbb370.tar.xz |
fix the test tls1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/ARM/tls1.ll | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/CodeGen/ARM/tls1.ll b/test/CodeGen/ARM/tls1.ll index ae90c94610..6866a42db4 100644 --- a/test/CodeGen/ARM/tls1.ll +++ b/test/CodeGen/ARM/tls1.ll @@ -1,9 +1,10 @@ -; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu | \ -; RUN: grep {movl %gs:i@NTPOFF, %eax} -; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu | \ -; RUN: grep {leal i@NTPOFF(%eax), %eax} -; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | \ -; RUN: grep {leal i@TLSGD(,%ebx,1), %eax} +; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi | \ +; RUN: grep {i(tpoff)} +; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi | \ +; RUN: grep {__aeabi_read_tp} +; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi \ +; RUN: -relocation-model=pic | grep {__tls_get_addr} + @i = thread_local global i32 15 ; <i32*> [#uses=2] |