diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-15 06:51:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-15 06:51:46 +0000 |
commit | 7fa889b946266f5cf3f386acf2487aed244e5d10 (patch) | |
tree | c4e94890452428b96acbf2be304f8cd791fdd19e /lib/CodeGen/CriticalAntiDepBreaker.h | |
parent | 706f50820cbef16b1e7951dfa734f79b73cb5b39 (diff) | |
download | llvm-7fa889b946266f5cf3f386acf2487aed244e5d10.tar.gz llvm-7fa889b946266f5cf3f386acf2487aed244e5d10.tar.bz2 llvm-7fa889b946266f5cf3f386acf2487aed244e5d10.tar.xz |
revert bill's patches in an attempt to fix the buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CriticalAntiDepBreaker.h')
-rw-r--r-- | lib/CodeGen/CriticalAntiDepBreaker.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CriticalAntiDepBreaker.h b/lib/CodeGen/CriticalAntiDepBreaker.h index 62ef72ace1..540630083b 100644 --- a/lib/CodeGen/CriticalAntiDepBreaker.h +++ b/lib/CodeGen/CriticalAntiDepBreaker.h @@ -25,7 +25,6 @@ #include "llvm/ADT/BitVector.h" #include "llvm/ADT/SmallSet.h" #include <map> -#include <vector> namespace llvm { class TargetInstrInfo; @@ -47,18 +46,19 @@ class TargetRegisterInfo; /// corresponding value is null. If the register is live but used in /// multiple register classes, the corresponding value is -1 casted to a /// pointer. - std::vector<const TargetRegisterClass *> Classes; + const TargetRegisterClass * + Classes[TargetRegisterInfo::FirstVirtualRegister]; /// RegRegs - Map registers to all their references within a live range. std::multimap<unsigned, MachineOperand *> RegRefs; /// KillIndices - The index of the most recent kill (proceding bottom-up), /// or ~0u if the register is not live. - std::vector<unsigned> KillIndices; + unsigned KillIndices[TargetRegisterInfo::FirstVirtualRegister]; /// DefIndices - The index of the most recent complete def (proceding bottom /// up), or ~0u if the register is live. - std::vector<unsigned> DefIndices; + unsigned DefIndices[TargetRegisterInfo::FirstVirtualRegister]; /// KeepRegs - A set of registers which are live and cannot be changed to /// break anti-dependencies. |