remove a bogus assertion: the latch block of a loop is not
authorChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2011 07:47:59 +0000 (07:47 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2011 07:47:59 +0000 (07:47 +0000)
commit93767fdb61dfff6ab13056b2a73209998ae4e786
treef4f29b634b2ae119949ad0fc090e4cef924a892c
parent965187081538623b5ed76beafb6888c81dcc80f2
remove a bogus assertion: the latch block of a loop is not
neccesarily an uncond branch to the header.  This fixes
PR8955 (the assertion tripping).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123219 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopRotation.cpp
test/Transforms/LoopRotate/crash.ll [new file with mode: 0644]