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/AggressiveAntiDepBreaker.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/AggressiveAntiDepBreaker.h')
-rw-r--r-- | lib/CodeGen/AggressiveAntiDepBreaker.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/CodeGen/AggressiveAntiDepBreaker.h b/lib/CodeGen/AggressiveAntiDepBreaker.h index d9365a5120..91ebb850d1 100644 --- a/lib/CodeGen/AggressiveAntiDepBreaker.h +++ b/lib/CodeGen/AggressiveAntiDepBreaker.h @@ -24,13 +24,12 @@ #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/ScheduleDAG.h" #include "llvm/Target/TargetSubtarget.h" +#include "llvm/Target/TargetRegisterInfo.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/SmallSet.h" #include <map> -#include <vector> namespace llvm { - class TargetRegisterInfo; /// Class AggressiveAntiDepState /// Contains all the state necessary for anti-dep breaking. class AggressiveAntiDepState { @@ -60,27 +59,27 @@ namespace llvm { /// currently representing the group that the register belongs to. /// Register 0 is always represented by the 0 group, a group /// composed of registers that are not eligible for anti-aliasing. - std::vector<unsigned> GroupNodeIndices; + unsigned GroupNodeIndices[TargetRegisterInfo::FirstVirtualRegister]; /// RegRefs - Map registers to all their references within a live range. std::multimap<unsigned, RegisterReference> 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]; public: AggressiveAntiDepState(const unsigned TargetRegs, MachineBasicBlock *BB); /// GetKillIndices - Return the kill indices. - std::vector<unsigned> &GetKillIndices() { return KillIndices; } + unsigned *GetKillIndices() { return KillIndices; } /// GetDefIndices - Return the define indices. - std::vector<unsigned> &GetDefIndices() { return DefIndices; } + unsigned *GetDefIndices() { return DefIndices; } /// GetRegRefs - Return the RegRefs map. std::multimap<unsigned, RegisterReference>& GetRegRefs() { return RegRefs; } |