This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.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