<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 - Labels as Values broken on trunk"
href="https://bugs.llvm.org/show_bug.cgi?id=32469">32469</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Labels as Values broken on trunk
</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>release blocker
</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>octoploid@yandex.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>trippels@gcc2-power8 ~ % cat test.i
int a;
void fn1() {
int b=1;
void *c[] = {&&L_OP_CCLASS_MB, &&L_OP_CONDITION};
if (a)
while (b--)
L_OP_CCLASS_MB:;
L_OP_CONDITION:
goto * 0;
}
trippels@gcc2-power8 ~ % clang -c -O2 test.i
Instruction does not dominate all uses!
%b.1.ph = phi i32 [ 1, %entry ], [ %dec, %.split ]
%merge = phi i32 [ %b.1.ph, %while.cond ], [ %b.0.clone, %while.cond.clone ]
PHINode should have one entry for each predecessor of its parent basic block!
%b.0.clone = phi i32 [ 1, %entry ], [ %dec, %.split ]
fatal error: error in backend: Broken function found, compilation aborted!</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>