PHI elimination shouldn't require machineloopinfo since it's used at -O0. Move the...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 17 Aug 2010 21:00:37 +0000 (21:00 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 17 Aug 2010 21:00:37 +0000 (21:00 +0000)
commit148341cc9b60d7d88be9c07a2b32b436e0cd301d
tree29a5c972e74e8b82bc01aba153ea9649733be807
parent6542416560589c9cfa6298d2edc73f3350ccf56a
PHI elimination shouldn't require machineloopinfo since it's used at -O0. Move the requirement to LiveIntervalAnalysis instead. Note this does not change the number of times machineloopinfo is computed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111285 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/PHIElimination.cpp
lib/CodeGen/PHIElimination.h