http://llvm.org/bugs/show_bug.cgi?id=21431

            Bug ID: 21431
           Summary: MCJIT TLS support: Cannot select: X86ISD::WrapperRIP
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Target-Independent JIT
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

On x86_64 Linux,

$ cat tls.ll
@external_tls_var = external thread_local(initialexec) global i32

define i32 @main() {
        store i32 6, i32* @external_tls_var
    ret i32 0
}

$ ./bin/lli tls.ll
LLVM ERROR: Cannot select: 0x2bac360: i64 = X86ISD::WrapperRIP 0x2bac258
[ORD=2] [ID=9]
  0x2bac258: i64 = TargetGlobalTLSAddress<i32* @external_tls_var> 0 [TF=10]
[ORD=2] [ID=7]
In function: main

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to