[LLVMdev] Unable to Split critical edges
Afraz
afraz.urfriend at gmail.com
Mon Nov 24 09:28:17 PST 2014
Hi,
I am having a problem while splitting the critical edges for carrying out
path profiling. Actually, I am using the function 'SplitCriticalEdge' from
the file 'BreakCriticalEdges.cpp' file but it just returns NULL pointer
while splitting to a landing pad block. Here is the comment from the code:
// Splitting the critical edge to a landing pad block is non-trivial.
Don't do00140 // it in this generic function.00141 if
(DestBB->isLandingPad
<http://llvm.org/docs/doxygen/html/classllvm_1_1BasicBlock.html#a3075a9eef753018bed561df31f38dc23>())
return nullptr;
Can anyone please provide a solution for breaking such critical edges?
Is there an implementation available for it?
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141124/f9c8e2ba/attachment.html>
More information about the llvm-dev
mailing list