Fix several areas in LSR to do a better job keeping the main
authorDan Gohman <gohman@apple.com>
Sun, 29 Aug 2010 16:32:54 +0000 (16:32 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 29 Aug 2010 16:32:54 +0000 (16:32 +0000)
commit25608f7f4b352aa3ff6004aadde11dc86ff85eda
treed6fbd128969b01658577ef2f984511ecef7e17db
parent4aa5c2e90f70c7032a075bee06b8a08e731d99ec
Fix several areas in LSR to do a better job keeping the main
LSRInstance data structures up to date. This fixes some
pessimizations caused by stale data which will be exposed
in an upcoming change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112440 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp