<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 - Unreachable code is reached & assert fails in X86AvoidStoreForwardingBlocks.cpp"
href="https://bugs.llvm.org/show_bug.cgi?id=38743">38743</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unreachable code is reached & assert fails in X86AvoidStoreForwardingBlocks.cpp
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cmtice@google.com
</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=20789" name="attach_20789" title=".bc file created as part of thinlto compilation that crashed with assert">attachment 20789</a> <a href="attachment.cgi?id=20789&action=edit" title=".bc file created as part of thinlto compilation that crashed with assert">[details]</a></span>
.bc file created as part of thinlto compilation that crashed with assert
ld.gold.real:
/var/tmp/portage/sys-devel/llvm-7.0_pre333878_p20180808-r4/work/llvm-7.0_pre333878_p20180808/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp:498:
void (anonymous namespace)::X86AvoidSFBPass::buildCopies(int,
llvm::MachineInstr *, int64_t, llvm::MachineInstr *, int64_t, int64_t,
int64_t): Assertion `Size == 0 && "Wrong size division"' failed.
clang-8: error: unable to execute command: Aborted
clang-8: error: linker command failed due to signal (use -v to see invocation)
I get this running:
$ /usr/bin/llc
./obj/components/safe_browsing/safe_browsing/base_blocking_page.o.5.precodegen.bc
I am attaching the .bc file.
Note: One interesting part of this bug is that in only occurs if I compile
with ThinLTO (this is part of a Chrome build in ChromeOS). If I disable
thinlto everything builds just fine.</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>