[LLVMdev] LLC Bug x86 with thread local storage

Eric Christopher echristo at apple.com
Wed Jul 7 12:51:17 PDT 2010


>> 
> 
> Is the testcase from Eli Friedman not enough?
> 

Hey look, a testcase.

> http://llvm.org/bugs/show_bug.cgi?id=5081
> Eli Friedman 2009-10-02 20:15:35 CDT
> Reduced testcase:
> 
> target triple = "x86_64-unknown-linux-gnu"
> @tm_nest_level = internal thread_local global i32 0
> define i64 @z() nounwind {
>  ret i64 and (i64 ptrtoint (i32* @tm_nest_level to i64), i64 100)
> }
> 
> Because actually, the C application where it happens is really huge and I don't know if I will be able to provide you a really simple testcase.
> 
> Tell me if it is really required I can try to do it tomorrow.

Nah, that's fine.  I just didn't get anything on this and I don't have a linux machine I can assemble on.

-eric



More information about the llvm-dev mailing list