diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-04 01:26:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-04 01:26:39 +0000 |
commit | 4efeab208cf0fe7ae2f68bcdd1264a8fdb18826c (patch) | |
tree | 141d2dde1a0a254585814948d1631d033b2711ca /lib/CodeGen/LiveVariables.cpp | |
parent | ea50fabfd4e5fad25a25b312f64a9b2a53363586 (diff) |
Remove a bunch more dead V9 specific stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
-rw-r--r-- | lib/CodeGen/LiveVariables.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/CodeGen/LiveVariables.cpp b/lib/CodeGen/LiveVariables.cpp index c85d40b04f..5c7818d330 100644 --- a/lib/CodeGen/LiveVariables.cpp +++ b/lib/CodeGen/LiveVariables.cpp @@ -296,14 +296,12 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &MF) { "Didn't find an entry for our predecessor??"); if (MI->getOperand(i+1).getMachineBasicBlock() == MBB) { MachineOperand &MO = MI->getOperand(i); - if (!MO.getVRegValueOrNull()) { - VarInfo &VRInfo = getVarInfo(MO.getReg()); - assert(VRInfo.DefInst && "Register use before def (or no def)!"); - - // Only mark it alive only in the block we are representing. - MarkVirtRegAliveInBlock(VRInfo, MBB); - break; // Found the PHI entry for this block. - } + VarInfo &VRInfo = getVarInfo(MO.getReg()); + assert(VRInfo.DefInst && "Register use before def (or no def)!"); + + // Only mark it alive only in the block we are representing. + MarkVirtRegAliveInBlock(VRInfo, MBB); + break; // Found the PHI entry for this block. } } } |