Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \ |
Chandler Carruth | 4177e6f | 2012-07-02 12:47:22 +0000 | [diff] [blame] | 2 | ; RUN: grep "tbss" |
Lauro Ramos Venancio | 8699a97 | 2007-11-05 18:33:37 +0000 | [diff] [blame] | 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 | } |