brintos

brintos / llvm-project-archived public Read only

0
0
Text · 359 B · b786f41 Raw
11 lines · plain
1; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s2@tm_nest_level = internal thread_local global i32 03define i64 @z() nounwind {4; CHECK:      movq    $tm_nest_level@TPOFF, %r[[R0:[abcd]]]x5; CHECK-NEXT: addl    %fs:0, %e[[R0]]x6; CHECK-NEXT: andl    $100, %e[[R0]]x7 8  %and = and i64 ptrtoint (ptr @tm_nest_level to i64), 1009  ret i64 %and10}11