From: Bill Wendling Date: Sun, 17 Nov 2013 10:53:19 +0000 (+0000) Subject: Testcase for PR17964 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=281e8eb9fdf52cd517038ebe8df04d0558e63f39;p=oota-llvm.git Testcase for PR17964 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194961 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/tlv-3.ll b/test/CodeGen/X86/tlv-3.ll new file mode 100644 index 00000000000..4f793051836 --- /dev/null +++ b/test/CodeGen/X86/tlv-3.ll @@ -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 +}