Assertion failed: (ExitIfTrue == L->contains(BI->getSuccessor(1)), ScalarEvolution.cpp:7088

Hi all,

I do nightly builds of an open source project (VTK) with a clang I build myself and update every few weeks. After updating from r327520 to r338127 (and still with r338721 from yesterday), clang can no longer build VTK as it asserts with:

Assertion failed: (ExitIfTrue == L->contains(BI->getSuccessor(1)) && "It should have one successor in loop and one exit block!"), function computeExitLimit, file /Users/builder/llvm/llvm/lib/Analysis/ScalarEvolution.cpp, line 7088

which can be seen here:

I created a ticket too: