When inserting code into a loop preheader, insert it before the
terminator, instead of after the last phi. This fixes a bug exposed by ScalarEvolution analyzing more kinds of loops. This fixes PR4436. llvm-svn: 74072
Loading
Please register or sign in to comment