pull a simple method out of LICM into a new
authorChris Lattner <sabre@nondot.org>
Mon, 6 Sep 2010 01:05:37 +0000 (01:05 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Sep 2010 01:05:37 +0000 (01:05 +0000)
commitadc799112dc180b3cd099038c05101b85d217716
tree02018ebd9cf6b13c0269ee684ef2c53527ccc945
parent03d1063d3208378b2bf7c15f0ea0e90ff4defa87
pull a simple method out of LICM into a new
Loop::hasLoopInvariantOperands method. Remove
a useless and confusing Loop::isLoopInvariant(Instruction)
method, which didn't do what you thought it did.

No functionality change.

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