[PATCH] D26389: [SCEV] limit recursion depth of CompareSCEVComplexity

Daniil Fukalov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 02:28:10 PST 2016


dfukalov added a comment.

Hi Sanjoy,

the issue is in SLSR pass when it tries to construct with getAddExpr and getMulExpr on a source that is similar to test case from https://llvm.org/bugs/show_bug.cgi?id=28721 but much more bigger: >1000 lines of muls+adds in main block and has 8 phis instead of 2.

Tom,
as I mentioned above, the input caused issue is very similar to test case of bug 28721 and in my case it hangs in SLSR pass too. But both bugs are not reproducible for me.

I'll try to create a test case by expanding one from bug 28721.


https://reviews.llvm.org/D26389





More information about the llvm-commits mailing list