llvm.org GIT mirror llvm / e81d010
Make this LookAheadLimit, not the uninitialized LookAheadLeft. Evan please verify! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104408 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
136136 MachineCSE::isPhysDefTriviallyDead(unsigned Reg,
137137 MachineBasicBlock::const_iterator I,
138138 MachineBasicBlock::const_iterator E) const {
139 unsigned LookAheadLeft = LookAheadLeft;
139 unsigned LookAheadLeft = LookAheadLimit;
140140 while (LookAheadLeft) {
141141 // Skip over dbg_value's.
142142 while (I != E && I->isDebugValue())