<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - ThinLTO-generated IR yields assembler error on i686 MSVC"
href="https://bugs.llvm.org/show_bug.cgi?id=35736">35736</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ThinLTO-generated IR yields assembler error on i686 MSVC
</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>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alex@crichton.co
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19597" name="attach_19597" title="reduced IR">attachment 19597</a> <a href="attachment.cgi?id=19597&action=edit" title="reduced IR">[details]</a></span>
reduced IR
We've almost enabled ThinLTO by default in rustc and we're down to (hopefully)
the last few errors! One that we just came across [1] was reduced to a smaller
test case (attached).
The test case seems to indicate that an `available_externally` function causes
issues when generating the object file on i686-pc-windows-msvc. I've been
reproducing this locally with:
$ llc ./foo.ll -filetype=obj
This is against a pretty old (at this point) fork of LLVM, but I think that the
issue is still present on trunk.
[1]:
<a href="https://ci.appveyor.com/project/rust-lang/rust/build/1.0.5799/job/psia8hh71alrhuu3">https://ci.appveyor.com/project/rust-lang/rust/build/1.0.5799/job/psia8hh71alrhuu3</a></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>