[llvm-commits] PR12343 PATCH: -loop-unswitch crash on indirect branch

Stepan Dyatkovskiy STPWORLD at narod.ru
Thu Mar 29 23:36:05 PDT 2012


Hi all. Please find patch for review.
It was discussed here:
http://llvm.org/bugs/show_bug.cgi?id=12343

We have not trivial way for splitting edges that are goes from indirect branch. We can do it with some tricks, but it should be additionally discussed. And it is still dangerous due to difficulty of indirect branches controlling.

This is a fast fix, that forbids this case for unswitching.

-Stepan.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr12343-fastfix.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120330/13de309a/attachment.ksh>


More information about the llvm-commits mailing list