Fix PR3408 by making a non-obvious assumption very obvious, and
authorChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 02:11:30 +0000 (02:11 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 02:11:30 +0000 (02:11 +0000)
commit3796a262c50e0b04c1a5a9571f12bb9bc4936c25
treeeeee4a2c7c842f6aef7e40bf58c3a016d5819240
parentf6784a326293941cd4ff6d25da64732760e993f3
Fix PR3408 by making a non-obvious assumption very obvious, and
handling the flaw inherent in that assumption.  :)

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