summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-04 10:43:23 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-04 10:43:23 +0000
commite4fd907e72a599eddfa7a81eac4366b5b82523e3 (patch)
treee5a97f58db2537457943547ba007ee63299ae555 /lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
parent9406da6e664a24c8e408cbba63daf162ca166ed9 (diff)
downloadllvm-e4fd907e72a599eddfa7a81eac4366b5b82523e3.tar.gz
llvm-e4fd907e72a599eddfa7a81eac4366b5b82523e3.tar.bz2
llvm-e4fd907e72a599eddfa7a81eac4366b5b82523e3.tar.xz
Use uint16_t to store register overlaps to reduce static data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
index b275c6321a..34ee1f3599 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
@@ -447,7 +447,7 @@ static bool CheckForLiveRegDef(SUnit *SU, unsigned Reg,
Added = true;
}
}
- for (const unsigned *Alias = TRI->getAliasSet(Reg); *Alias; ++Alias)
+ for (const uint16_t *Alias = TRI->getAliasSet(Reg); *Alias; ++Alias)
if (LiveRegDefs[*Alias] && LiveRegDefs[*Alias] != SU) {
if (RegAdded.insert(*Alias)) {
LRegs.push_back(*Alias);