<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 - fatal error: error in backend: Cannot select: intrinsic %llvm.coro.resume when enabling the new pass manager"
href="https://bugs.llvm.org/show_bug.cgi?id=42867">42867</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fatal error: error in backend: Cannot select: intrinsic %llvm.coro.resume when enabling the new pass manager
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>leonardchan@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=22331" name="attach_22331" title="reproducer">attachment 22331</a> <a href="attachment.cgi?id=22331&action=edit" title="reproducer">[details]</a></span>
reproducer
We run into this error when running libc++ tests on x86_64 after building with
the new pass manager. The test specifically is
`libc++ ::
std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp`
but we also see this for a few other coroutine tests. Off the top of my head, I
suspect that this might be from a pass that runs only under the legacy PM that
wasn't yet ported to the new PM.
Reproducer attached.</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>