Make IVUsers iterative instead of recursive.
authorDan Gohman <gohman@apple.com>
Sun, 29 Aug 2010 16:40:03 +0000 (16:40 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 29 Aug 2010 16:40:03 +0000 (16:40 +0000)
commiteaa40ff74e41176250bd6b50116ab03b0c596d5e
tree3dee52c79380d146bc77be24c5d2bf31f72a5aad
parent4f7e18dee35c55e4e719f5fb73726ab035a7e5db
Make IVUsers iterative instead of recursive.

This has the side effect of reversing the order of most of
IVUser's results.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112442 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/IVUsers.h
lib/Analysis/IVUsers.cpp
test/CodeGen/X86/lsr-reuse.ll