<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - MCJIT TLS support: Cannot select: X86ISD::WrapperRIP"
href="http://llvm.org/bugs/show_bug.cgi?id=21431">21431</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>MCJIT TLS support: Cannot select: X86ISD::WrapperRIP
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Target-Independent JIT
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eugeni.stepanov@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>