[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
Thu Oct 23 02:12:50 PDT 2014


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

--- Comment #13 from Vitaliy Filippov <vitalif at yourcmc.ru> ---
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 comment 11 (structurizecfg output of
comment 10) (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...

-- 
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/20141023/510405d5/attachment.html>


More information about the dri-devel mailing list