Dan Gohman | 36a0947 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s -check-prefix=LINUX |
Chris Lattner | bf15e43 | 2009-07-28 17:57:51 +0000 | [diff] [blame] | 2 | |
| 3 | ; PR4639 |
| 4 | @G1 = internal thread_local global i32 0 ; <i32*> [#uses=1] |
Joerg Sonnenberger | 89e0f38 | 2011-03-04 20:03:14 +0000 | [diff] [blame] | 5 | ; LINUX: .section .tbss,"awT",@nobits |
Chris Lattner | bf15e43 | 2009-07-28 17:57:51 +0000 | [diff] [blame] | 6 | ; LINUX: G1: |
| 7 | |
| 8 | |
| 9 | define i32* @foo() nounwind readnone { |
| 10 | entry: |
| 11 | ret i32* @G1 |
| 12 | } |
| 13 | |
| 14 | |