[LLVMdev] PHINode containing itself causes segfault when compiling Blender OpenCL kernel with R600 backend
Виталий Филиппов
vitalif at yourcmc.ru
Tue Sep 23 02:12:09 PDT 2014
Thanks for the explanation... but does it satisfy SSA? It seems that register gets overwritten more than 1 time when using itself as input? Shouldn't SSA unroll such structures into ones that don't reference itself?
And is it the same with LLVM's internal structures (PHINode)? I mean, is PHINode a "register" or just an "expression"? If it's meant to be an expression, then it still looks strange to be recursive, because there's no "previous" value for it to reference...
--
With best regards,
Vitaliy Filippov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140923/f62f1f62/attachment.html>
More information about the llvm-dev
mailing list