Testcase for PR17964
authorBill Wendling <isanbard@gmail.com>
Sun, 17 Nov 2013 10:53:19 +0000 (10:53 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 17 Nov 2013 10:53:19 +0000 (10:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194961 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/tlv-3.ll [new file with mode: 0644]

diff --git a/test/CodeGen/X86/tlv-3.ll b/test/CodeGen/X86/tlv-3.ll
new file mode 100644 (file)
index 0000000..4f79305
--- /dev/null
@@ -0,0 +1,10 @@
+; RUN: llc < %s -mtriple x86_64-apple-darwin | FileCheck %s
+; PR17964
+
+; CHECK: __DATA,__thread_data,thread_local_regular
+; CHECK: _foo$tlv$init
+@foo = weak_odr thread_local global i8 1, align 4
+
+define i32 @main() {
+    ret i32 0
+}