Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \ |
Lauro Ramos Venancio | 8699a97 | 2007-11-05 18:33:37 +0000 | [diff] [blame] | 2 | ; RUN: grep {tbss} |
3 | |||||
4 | %struct.anon = type { i32, i32 } | ||||
5 | @teste = internal thread_local global %struct.anon zeroinitializer ; <%struct.anon*> [#uses=1] | ||||
6 | |||||
7 | define i32 @main() { | ||||
8 | entry: | ||||
9 | %tmp2 = load i32* getelementptr (%struct.anon* @teste, i32 0, i32 0), align 8 ; <i32> [#uses=1] | ||||
10 | ret i32 %tmp2 | ||||
11 | } |