Eric Christopher | 18fb00b | 2010-06-21 18:21:27 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s |
2 | @tm_nest_level = internal thread_local global i32 0 | ||||
3 | define i64 @z() nounwind { | ||||
Eric Christopher | fb31ccb | 2010-07-08 07:36:46 +0000 | [diff] [blame^] | 4 | ; CHECK: movabsq $tm_nest_level@TPOFF, %rcx |
Eric Christopher | 18fb00b | 2010-06-21 18:21:27 +0000 | [diff] [blame] | 5 | ret i64 and (i64 ptrtoint (i32* @tm_nest_level to i64), i64 100) |
6 | } |