Fix LSR to keep the RegUseTracker up to date when combining users.
authorDan Gohman <gohman@apple.com>
Thu, 7 Oct 2010 23:33:43 +0000 (23:33 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 7 Oct 2010 23:33:43 +0000 (23:33 +0000)
commitc6897706b7c3796ac24535c9ea1449c0411f8c7a
tree55cfcb1547e7eb848e97d20ec6bb5b4771ac4f9f
parentd82e9e7d939bb4b4f4773e9853c061e14188f705
Fix LSR to keep the RegUseTracker up to date when combining users.
This doesn't usually matter, because the other heuristics usually
succeed regardless, but it's good to keep the register use
bookkeeping consistent.

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