Fix compiler warning about uninitialized variables. No functional change.
[oota-llvm.git] / 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);
           }
         }
       }