Rename AliasSet to SubRegs, to reflect changes in the surrounding code.
authorDan Gohman <gohman@apple.com>
Thu, 16 Oct 2008 01:06:18 +0000 (01:06 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 16 Oct 2008 01:06:18 +0000 (01:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57618 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/DeadMachineInstructionElim.cpp

index 0d043f795a2d85831dd609859ca1ee35fb844916..4832a5ee9ae0488f37cd2e08c297f8742ae2bf61 100644 (file)
@@ -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);
           }
         }
       }