<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - PHINode containing itself causes segfault in LLVM when compiling Blender OpenCL kernel with R600 backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84232#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - PHINode containing itself causes segfault in LLVM when compiling Blender OpenCL kernel with R600 backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84232">bug 84232</a>
from <span class="vcard"><a class="email" href="mailto:vitalif@yourcmc.ru" title="Vitaliy Filippov <vitalif@yourcmc.ru>"> <span class="fn">Vitaliy Filippov</span></a>
</span></b>
<pre>It seems that the StructurizeCFG branch-on-constant bug not only crashes R600,
but actually generates invalid code!
It's clearly seen that in the IR code from <a href="show_bug.cgi?id=84232#c11">comment 11</a> (structurizecfg output of
<a href="show_bug.cgi?id=84232#c10">comment 10</a>) (j > 50) comparison is contained in block %14, so it must be
reachable. But it's unreachable because the only branch there is that constant
branch instruction from %25 that always avoids %14...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>