Revert r111031. The way LLVM defines loop invariance, the property of an
authorDan Gohman <gohman@apple.com>
Mon, 16 Aug 2010 17:34:25 +0000 (17:34 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 16 Aug 2010 17:34:25 +0000 (17:34 +0000)
commit7d0e3c01f35fae3c448761c21477faa622872044
tree11bcf81765744eac6c5c521a6db67e400be6bc0a
parent5ba3e4d75d37d4cb145ebd01c2b0b2fec0db27c0
Revert r111031. The way LLVM defines loop invariance, the property of an
expression being loop invariant is not equivalent to the property of
properly dominating the loop header.

Other optimizations have also made this optimization less important.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111160 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpressions.h