revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / X86 / fast-isel-tls.ll
bloba5e6642e09c1361010f776f1a49143912812ff01
1 ; RUN: llc < %s -march=x86 -relocation-model=pic -mtriple=i686-unknown-linux-gnu -fast-isel | grep __tls_get_addr
2 ; PR3654
4 @v = thread_local global i32 0
5 define i32 @f() nounwind {
6 entry:
7           %t = load i32* @v
8           %s = add i32 %t, 1
9           ret i32 %s