[LLVMbugs] [Bug 21431] New: MCJIT TLS support: Cannot select: X86ISD::WrapperRIP

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 31 10:11:49 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: eugeni.stepanov at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141031/33e4ae85/attachment.html>


More information about the llvm-bugs mailing list