summaryrefslogtreecommitdiff
path: root/lib/CodeGen/DeadMachineInstructionElim.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-16 01:06:18 +0000
committerDan Gohman <gohman@apple.com>2008-10-16 01:06:18 +0000
commit131161bc6e490624ab3b906d5a5233050dae4a99 (patch)
tree1bebc0870f904d48447399edb0b10750b2ca7ec7 /lib/CodeGen/DeadMachineInstructionElim.cpp
parent7ddcadc7ee18b8e4edd3524d2a24837688880233 (diff)
downloadllvm-131161bc6e490624ab3b906d5a5233050dae4a99.tar.gz
llvm-131161bc6e490624ab3b906d5a5233050dae4a99.tar.bz2
llvm-131161bc6e490624ab3b906d5a5233050dae4a99.tar.xz
Rename AliasSet to SubRegs, to reflect changes in the surrounding code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DeadMachineInstructionElim.cpp')
-rw-r--r--lib/CodeGen/DeadMachineInstructionElim.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/DeadMachineInstructionElim.cpp b/lib/CodeGen/DeadMachineInstructionElim.cpp
index 0d043f795a..4832a5ee9a 100644
--- a/lib/CodeGen/DeadMachineInstructionElim.cpp
+++ b/lib/CodeGen/DeadMachineInstructionElim.cpp
@@ -129,9 +129,9 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) {
// Check the subreg set, not the alias set, because a def
// of a super-register may still be partially live after
// this def.
- for (const unsigned *AliasSet = TRI->getSubRegisters(Reg);
- *AliasSet; ++AliasSet)
- LivePhysRegs.reset(*AliasSet);
+ for (const unsigned *SubRegs = TRI->getSubRegisters(Reg);
+ *SubRegs; ++SubRegs)
+ LivePhysRegs.reset(*SubRegs);
}
}
}