Make makeLoopInvariant report whether it made any changes or not,
authorDan Gohman <gohman@apple.com>
Wed, 15 Jul 2009 01:25:43 +0000 (01:25 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 15 Jul 2009 01:25:43 +0000 (01:25 +0000)
commitbdc017edacb713119b24ab269d250a82d62fffeb
tree7cf92dc3dd53533075ad262c08ec0d23e0dd7e1d
parent2e2ad51ffd1e0822c7dc128d96113874017ad079
Make makeLoopInvariant report whether it made any changes or not,
and use this to simplify more code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75722 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopInfo.h
lib/Analysis/LoopInfo.cpp
lib/Transforms/Scalar/LoopDeletion.cpp
lib/Transforms/Scalar/LoopUnswitch.cpp
lib/Transforms/Utils/LoopSimplify.cpp