diff options
| author | Craig Topper <craig.topper@gmail.com> | 2012-03-04 10:43:23 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2012-03-04 10:43:23 +0000 |
| commit | 1d3265887755f2eac986407343dc7447948e9a72 (patch) | |
| tree | c0af8f45958150e8a5b2f31d2b67a2ac236182ae /llvm/lib/CodeGen/DeadMachineInstructionElim.cpp | |
| parent | dc2cada889b3bcf652fd8f356e2b96cea8e6e228 (diff) | |
| download | bcm5719-llvm-1d3265887755f2eac986407343dc7447948e9a72.tar.gz bcm5719-llvm-1d3265887755f2eac986407343dc7447948e9a72.zip | |
Use uint16_t to store register overlaps to reduce static data.
llvm-svn: 152001
Diffstat (limited to 'llvm/lib/CodeGen/DeadMachineInstructionElim.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/DeadMachineInstructionElim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp index f5ca2d470a6..f175f3bab72 100644 --- a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp +++ b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp @@ -188,7 +188,7 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) { unsigned Reg = MO.getReg(); if (TargetRegisterInfo::isPhysicalRegister(Reg)) { LivePhysRegs.set(Reg); - for (const unsigned *AliasSet = TRI->getAliasSet(Reg); + for (const uint16_t *AliasSet = TRI->getAliasSet(Reg); *AliasSet; ++AliasSet) LivePhysRegs.set(*AliasSet); } |

