blob: 8d3b300da3bfa871a8138d4c29f8b32f4a6186b6 [file] [log] [blame]
Eric Christopher18fb00b2010-06-21 18:21:27 +00001; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
2@tm_nest_level = internal thread_local global i32 0
3define i64 @z() nounwind {
Eric Christopherfb31ccb2010-07-08 07:36:46 +00004; CHECK: movabsq $tm_nest_level@TPOFF, %rcx
Eric Christopher18fb00b2010-06-21 18:21:27 +00005 ret i64 and (i64 ptrtoint (i32* @tm_nest_level to i64), i64 100)
6}