[Bug 84232] PHINode containing itself causes segfault in LLVM when compiling Blender OpenCL kernel with R600 backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 22 16:16:13 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84232

--- Comment #12 from Vitaliy Filippov <vitalif at yourcmc.ru> ---
Hm... Checked the test from comment 6, the result is the same - there are two
PHINode loops and one branch on constant.

Also checked the code, it looks like crash from comment 6 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141022/8b2459b6/attachment.html>


More information about the dri-devel mailing list