Displaying 2 results from an estimated 2 matches for "siannotatecontrolflow".
2014 Sep 20
6
[LLVMdev] PHINode containing itself causes segfault when compiling Blender OpenCL kernel with R600 backend
...-> in 1 place), and after fixing
this bug I've got the kernel to compile...
...But after that, LLVM started to crash during translation of IR into
shader code with R600 backend.
I've done some investigation and figured out that the crash is caused by a
PHINode containing itself. SIAnnotateControlFlow::handleLoopCondition()
can't handle such situation - it recurses into itself, calls
Phi->eraseFromParent() inside the inner execution, returns into outer one,
gets zeroed out object and crashes when trying to do something with its
members... for example when trying to erase it again....
2017 Mar 02
5
Structurizing multi-exit regions
Hi,
I'm trying to solve a problem from StructurizeCFG not actually handling
regions with multiple exits. Sample IR attached.
StructurizeCFG doesn't touch this function, exiting early on the
isTopLevelRegion check. SIAnnotateControlFlow then gets confused and
ends up inserting an if into one of the blocks, and the matching end.cf
into one of the return/unreachable blocks. The input to the end.cf is
then not dominated by the condition which fails the verifier.
I'm not sure exactly about how to go about fixing this. I see a...