<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#c12">Comment # 12</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>Hm... Checked the test from <a href="show_bug.cgi?id=84232#c6">comment 6</a>, the result is the same - there are two
PHINode loops and one branch on constant.
Also checked the code, it looks like crash from <a href="show_bug.cgi?id=84232#c6">comment 6</a> is also triggered by
a branch-on-constant, the difference is that it crashes when a ConstantInt is
dyn_cast<>'ed to incorrect class - Instruction (ConstantInt isn't an
Instruction!!) in handleLoopCondition() and getTerminator() is called on it.</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>