aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/tls-02.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SystemZ/tls-02.ll')
-rw-r--r--test/CodeGen/SystemZ/tls-02.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/CodeGen/SystemZ/tls-02.ll b/test/CodeGen/SystemZ/tls-02.ll
deleted file mode 100644
index 15918d08a936..000000000000
--- a/test/CodeGen/SystemZ/tls-02.ll
+++ /dev/null
@@ -1,18 +0,0 @@
-; Test initial-exec TLS accesses.
-;
-; RUN: llc < %s -mcpu=z10 -mtriple=s390x-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=CHECK-MAIN
-
-@x = thread_local(initialexec) global i32 0
-
-; The offset must be loaded from the GOT. This TLS access model does
-; not use literal pool constants.
-define i32 *@foo() {
-; CHECK-MAIN-LABEL: foo:
-; CHECK-MAIN: ear [[HIGH:%r[0-5]]], %a0
-; CHECK-MAIN: sllg %r2, [[HIGH]], 32
-; CHECK-MAIN: ear %r2, %a1
-; CHECK-MAIN: larl %r1, x@INDNTPOFF
-; CHECK-MAIN: ag %r2, 0(%r1)
-; CHECK-MAIN: br %r14
- ret i32 *@x
-}