<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 - [ICE][coroutines] Instruction does not dominate all uses"
href="https://bugs.llvm.org/show_bug.cgi?id=34267">34267</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ICE][coroutines] Instruction does not dominate all uses
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eniebler@boost.org
</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=19021" name="attach_19021" title="repro">attachment 19021</a> <a href="attachment.cgi?id=19021&action=edit" title="repro">[details]</a></span>
repro
clang++ corobug.cpp -Wall -Wextra -O2 -march=native -std=gnu++2a
"-fcoroutines-ts"
results in:
Instruction does not dominate all uses!
%23 = call noalias nonnull i8* @llvm.coro.begin(token %12, i8* %21), !noalias
!45
%63 = phi i8* [ %23, %61 ]
fatal error: error in backend: Broken function found, compilation aborted!
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 6.0.0 (<a href="https://github.com/llvm-mirror/clang.git">https://github.com/llvm-mirror/clang.git</a>
fbdebfae845511dae1ff852aa303205a1dee5ebf)
(<a href="https://github.com/llvm-mirror/llvm.git">https://github.com/llvm-mirror/llvm.git</a>
3ef5d9d5ddb0b40bea3f7bcb2163aeff0280acdb)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/wandbox/clang-head/bin
(See <a href="https://wandbox.org/permlink/Xb9KQ90mgHyovhXF">https://wandbox.org/permlink/Xb9KQ90mgHyovhXF</a>)
Compiling without optimization results in no error.</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>