The InductionPHI is not necessarily the increment instruction, as
demonstrated in pr49571.ll.
This patch removes the assertion and instead bails out from the
LoopFlatten pass if that happens.
This fixes https://bugs.llvm.org/show_bug.cgi?id=49571
The message seems a bit confusing, perhaps it should say Incoming value from latch is not the increment inst?