diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2012-09-18 16:55:29 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2012-09-18 16:55:29 +0000 |
commit | 4cd56014ae05a6ccc92cdcc66d457ce37558fc31 (patch) | |
tree | 8d7459173be919d58fff338bfdf2f96e2a85160c /test/CodeGen/PowerPC/ppc64-toc.ll | |
parent | eb8b7dc5362b66e45f17ce1c6d1ff1f5b79b9534 (diff) |
On PPC64 emit the environment pointer. Patch by Adhemerval Zanella.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ppc64-toc.ll')
-rw-r--r-- | test/CodeGen/PowerPC/ppc64-toc.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/ppc64-toc.ll b/test/CodeGen/PowerPC/ppc64-toc.ll index f1326ba992f..b992ab1ad33 100644 --- a/test/CodeGen/PowerPC/ppc64-toc.ll +++ b/test/CodeGen/PowerPC/ppc64-toc.ll @@ -12,6 +12,7 @@ entry: ; CHECK-NEXT: .align 3
; CHECK-NEXT: .quad .L.access_int64
; CHECK-NEXT: .quad .TOC.@tocbase
+; CHECK-NEXT: .quad 0
; CHECK-NEXT: .text
%0 = load i64* @number64, align 8
; CHECK: ld {{[0-9]+}}, .LC{{[0-9]+}}@toc(2)
|