commit | d33cec18a9c0d9382dbf1e2b629f3daef29226ee | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Feb 20 22:16:49 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Feb 20 22:16:49 2009 +0000 |
tree | b00d1e242063a58b57b040e118d1ff98930921b6 | |
parent | ff518c86f7daf4e7abeabb3b03a5a9237c042da9 [diff] |
Fix strange logic in CollectIVUsers used to determine whether all uses are addresses, part 1. This fixes an obvious logic bug. Previously if the only in-loop use is a PHI, it would return AllUsesAreAddresses as true. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65178 91177308-0d34-0410-b5e6-96231b3b80d8