summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-28 18:15:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-28 18:15:43 +0000
commit59f7eba2b546e4118434b0ea9de5e08c316a64b1 (patch)
tree16f393a8b64f8652acb4a735aa2b8dc81c8fa064 /llvm/test/Feature
parent555132824a9e28993a22c1fb1933287999d5733a (diff)
downloadbcm5719-llvm-59f7eba2b546e4118434b0ea9de5e08c316a64b1.tar.gz
bcm5719-llvm-59f7eba2b546e4118434b0ea9de5e08c316a64b1.zip
[pr19844] Add thread local mode to aliases.
This matches gcc's behavior. It also seems natural given that aliases contain other properties that govern how it is accessed (linkage, visibility, dll storage). Clang still has to be updated to expose this feature to C. llvm-svn: 209759
Diffstat (limited to 'llvm/test/Feature')
-rw-r--r--llvm/test/Feature/alias2.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Feature/alias2.ll b/llvm/test/Feature/alias2.ll
index 693ef7c9bef..4334a620171 100644
--- a/llvm/test/Feature/alias2.ll
+++ b/llvm/test/Feature/alias2.ll
@@ -17,3 +17,6 @@
@v6 = alias i16, i32* @v1
; CHECK: @v6 = alias i16, i32* @v1
+
+@v7 = thread_local(localdynamic) alias i32* @v1
+; CHECK: @v7 = thread_local(localdynamic) alias i32* @v1
OpenPOWER on IntegriCloud