diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-02-20 22:16:49 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-02-20 22:16:49 +0000 |
| commit | d33cec18a9c0d9382dbf1e2b629f3daef29226ee (patch) | |
| tree | b00d1e242063a58b57b040e118d1ff98930921b6 /lib/CodeGen/TwoAddressInstructionPass.cpp | |
| 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
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions
