Change 'while' loop to 'do' loop.
authorWojciech Matyjewicz <wmatyjewicz@fastmail.fm>
Sat, 14 Jun 2008 16:48:22 +0000 (16:48 +0000)
committerWojciech Matyjewicz <wmatyjewicz@fastmail.fm>
Sat, 14 Jun 2008 16:48:22 +0000 (16:48 +0000)
commit5d2bc857ec1ae11ec2ea85e596f3712d02fd2c2b
treefab871ea62d0d3682df7f6e7b707af0d2b437a95
parent507a58ac9b20ddcea2e56a014be26b8f8cc0ecb8
Change 'while' loop to 'do' loop.

Add a safety measure. It isn't safe to assume in ScalarEvolutionExpander that
all loops are in canonical form (but it should be safe for loops that have
AddRecs).
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52275 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolutionExpander.cpp