diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-11-17 10:53:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-11-17 10:53:19 +0000 |
commit | 281e8eb9fdf52cd517038ebe8df04d0558e63f39 (patch) | |
tree | cb984590c9a4fd13550ffe64f82cbf2c0e09368f /test | |
parent | fe128c6ac8a6ae6aa85f0168f99d9c28de010fd8 (diff) | |
download | external_llvm-281e8eb9fdf52cd517038ebe8df04d0558e63f39.zip external_llvm-281e8eb9fdf52cd517038ebe8df04d0558e63f39.tar.gz external_llvm-281e8eb9fdf52cd517038ebe8df04d0558e63f39.tar.bz2 |
Testcase for PR17964
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/tlv-3.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/tlv-3.ll b/test/CodeGen/X86/tlv-3.ll new file mode 100644 index 0000000..4f79305 --- /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 +} |